Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: sockaddr_unChapter 13
Sockets
Next: Reference: unpack_sockaddr_un
 

unpack_sockaddr_in

unpack_sockaddr_in (sockaddr)
sockaddr_in (sockaddr) 

Takes a socket address structure and returns an array of two elements (in list context): the port number and the four-byte IP address.


Previous: Reference: sockaddr_unPerl in a NutshellNext: Reference: unpack_sockaddr_un
Reference: sockaddr_unBook IndexReference: unpack_sockaddr_un