Function SocketGetPeerName() Professional
Retrieves peer information connected to the socket.
SocketGetPeerName( <nSocket> , ; [@<nError>] ) --> aInetAddr|NIL
The function returns an array containing IP address information of the peer, or NIL on failure. The following #define constants are available in the file SOCKET.CH to access the individual elements of the IP address array:
|IPADDR_ADDR||Numeric IP address in network byte order.|
|IPADDR_FAMILY||Address family (Windows sockets support only AF_INET).|
|IPADDR_PORT||Number of port the socket is associated with.|
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.