How can I get the IP address of my computer "like outside worlds point of view"? gethostbyname fails?
terrylee 24-October-2008 12:59:16 PM

Comments


Please visit the following link:

http://www.vbforums.com/showthread.php?t=403336
Posted by sagitraz


If gethostname fails suspect there's a NAT box between you and the rest of the world. NAT is often implemented in a firewall and folks who are behind a NAT box cannot see the external address because all incoming addresses in packet headers are translated.
Posted by suresh123



Posted: 24-October-2008 01:10:47 PM By: suresh123

If gethostname fails suspect there's a NAT box between you and the rest of the world. NAT is often implemented in a firewall and folks who are behind a NAT box cannot see the external address because all incoming addresses in packet headers are translated.

Posted: 25-October-2008 04:50:15 AM By: sagitraz

Please visit the following link:

http://www.vbforums.com/showthread.php?t=403336