start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: sockaddr_un Chapter 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_un Perl in a Nutshell Next: Reference: unpack_sockaddr_un
Reference: sockaddr_un Book Index Reference: unpack_sockaddr_un