Blake81
Well-known member
I'm working on the server half of my messenger program, and I need to store the usernames and IP's in a hash table on the server. How do I get the IP of the incoming connection from the server end? I thought about having the client program send it, but I'd still need to know how to get my own IP, and I thought that for users behind a router, it would probably just return the LAN IP anyway. Any suggestions? Thanks.