home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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.