Skip Menu |

This queue is for tickets about the Socket CPAN distribution.

Report information
The Basics
Id: 78765
Status: new
Priority: 0/
Queue: Socket

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2.002
Fixed in: (no value)



Subject: Add unpack_tcp_info()
We wrap TCP_INFO, which is a getable sockopt that returns a struct tcp_info, but we don't have an unwrapper function for that structure. TCP_INFO is documented on Linux as: TCP_INFO (since Linux 2.4) Used to collect information about this socket. The kernel returns a struct tcp_info as defined in the file /usr/include/linux/tcp.h. This option should not be used in code intended to be portable. However since we wrap the constant anyway I see no harm in also wrapping the structure. -- Paul Evans