Don't know about that, but Environ("Computername") will tell you the server's name.
At the moment I'm not up on TCPIP lookups.
Odd thought: Run a SHELL command to do an IPCONFIG command redirected to a file, then open and read the file to find the IP address. Offhand, I don't know of another way to do that because I don't know enough about the WinSock or other TCP APIs.