I was just wondering if there was any way that I could obtain the hostname or IP address of the machine that my program will be running on?
I have found examples to get the ip address, but i need to know the hostname.
I have also found examples to get the hostname... but i need the ip. lol
So is there any way of finding out one, without knowing the other?
Hope this makes sense ;-)