unpack_sockaddr_in ( sockaddr )
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.
Copyright © 2001 O'Reilly & Associates. All rights reserved.