Winsock IP/ID for Clients - Help Needed!!!
i know winsock has an IP for pc's (i.e 127.0.0.1) fine
but if you are using chat client and server and you want the server to get the ip of the client using the RemoteHostIP or something.
is it going to get 127.0.0.1 as ip for the client? if no what does it get?
and one thing can you control a client's window? if yes how?
and i will also like to know if you can get a computers unique id as you know in among a list of computers (say like 5 or 7) you see id's like maybe computer1, computer2.... and so on.
what help can i actually get on this?
Re: Winsock IP/ID for Clients - Help Needed!!!
You use the local host id (127.0.0.1) if you want to run the client and server on the same machine. If you are using two machines, you would use the IP address of each of them, and then the remote address would be returned.