The IP_GetIPName() function returns the host name of the current workstation.
A string containing the host name of the workstation.
If your application is running on Windows, the results you receive will depend upon which version of the STREAM.DLL you are using. If you’re using the stub version, the string “[Unknown]” will be returned. To receive an actual host name, you must be using the TCPSTR.DLL version of STREAM.DLL.