I am trying to set up a winsock connection to another computer - it is over an NT network - I was wondering how do I find out what the IP address of the computers are???
Thanks
Printable View
I am trying to set up a winsock connection to another computer - it is over an NT network - I was wondering how do I find out what the IP address of the computers are???
Thanks
If you want to know what the IP address of an NT workstation is type ipconfig at a DOS prompt, or winipcfg for Win95 computers. Remember that if you are using DHCP on your network for IP addresses these IP addresses may only be temporary, if you can use actual names and let the WINS translate them to IP addresses for you.
Do you know how I can find out what the local port is as well.
If you are using sockets to try and connect between two computers there is no port you have to use you can pick your own. There is an RFC somewhere that says what ports are reserved but you should be okay with something like 4321.