"UJ" <fr**@nowhere.comwrote
>I can easily get the TCP/IP address of the local machine but I'd also like
to know if the machine is behind a firewall/hub - what the address is that
is being sent over the net.
Is there anyway to get the TCP/IP that is actually being sent out there?
Is this really what you're looking for? Most people asking this tend to be
looking for a way to traverse NAT's and Firewalls in order to make direct
P2P connections for thigs like conferencing, or file transfers.
If this is so, you want to lookup the technologies called ICE and STUN.
Using these provides a solid mechanism for getting direct connections even
for 2 machines that are both behind firewalls and using NAT.
However I don't know of any ICE/STUN implementations in .Net. If you find
one, please let me know!
--
Chris Mullins MCSD.NET, MCPD:Enterprise
http://www.coversant.net/blogs/cmullins