Archived

This topic is now archived and is closed to further replies.

Recommended Posts

MatrixCubed    199
I''m looking for a way to enumerate IP addresses available on the computer system for (server) listening, but I''m uncertain how to do this, and I''m not sure what to look for in the Winsock documentation. Can anyone point me in the correct direction? Thanks! MatrixCubed
http://MatrixCubed.org

Share on other sites
Oluseyi    2116
MSDN  ->Network and Directory Services    ->Network Protocols      ->Internet Protocol Helper        ->SDK Documentation          ->Internet Protocol Helper            ->IP Helper Function Reference              ->IP Helper Functions                ->Categorical Listing                  ->GetIPAddrTable

Nested deep, but that''s why there''s a search tool...

Share on other sites
ajoling    202
Yes, I tried that one before too...but if you''re behind a NAT then there''s almost no way to get the right external IP address

Share on other sites
Zenroth    127
Well as far as nat goes the only way I think your gonna get a server to work like what you want is to do a nat mapping from your router to your server.

Something like this for example.

set nat entry 10.0.0.2(or whatever your private ip is) 5000(the port number) this will allow any data coming to your router on port 5000 to goto your server on 10.0.0.2 or whatever.

I could be wrong here but as far as getting nat working and being able to listen for a connection the only way ive ever had it work is through nat entrys and mappings.

Share on other sites
WarMage    122
Unless your messaging requires the remote system to speak directly with your system, the NAT should be transparent ina majority of the cases.

--------------
-WarMage
...give me infamy...