RemoteHostName

Description

Returns the remote hosts name for the specified socket handle.

Good to know: This is the FQDN for the host.

Remarks

Use this method to retrieve the remote host's machine name. This method can take a few seconds to execute, and is synchronous (will not return execution to your code until it is done). Calling this method on every connection in a multiple connection client or server can impact performance.

Prototype

CHAR* CSockQ::RemoteHostName(long SocketHandle)

Last updated