Hey guys, I've been searching the boards, FAQ, and more boards for this, but I haven't found a solution yet. Basically, I'm trying to find my IP address; I've read all about these 2 methods:
Problem with a: gethostname() gives me "kevin", and using gethostbyname() gives me my LAN address (the one assigned to me by my router).
Problem with b: I'm trying to get my IP address so that I can display it to the user and the user can then tell other users the IP so that other users can connect to the server; if other users already know the IP and can connect to the server so that I can get the IP address, the whole thing is pointless.
So my question is, is there any way to get my external IP address without having to connect to an external client?