• Advertisement

Archived

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

Available IP addresses?

This topic is 5975 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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 this post


Link to post
Share on other sites
Advertisement
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 this post


Link to post
Share on other sites
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 this post


Link to post
Share on other sites
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...

Share this post


Link to post
Share on other sites

  • Advertisement