How would i go about this? I have the user enter either the IP of a machine or the hostname and I want to be able to detect the other. Tried the winsock control, anything else I can do?