RemoteHostIP

Description

Returns the remote hosts IP address from the specified socket handle.

Remarks

Use this method to retrieve the remote hosts IP address. Note that when acting as a client (and the application has called the ConnectSock method), it is possible for this method to block in cases where a local hosts routing table is broken, the network is experiencing adverse conditions, or the host is distant.

Prototype

CHAR* RemoteHostIP(long SocketHandle)

Last updated