The IP_GetIPNumber() function returns the IP address of the current workstation.
IP_GetIPNumber()
• None
A string containing the IP address 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 0.0.0.0 will be returned. To receive an actual IP address, you must be using the TCPSTR.DLL version of STREAM.DLL.