Jump to content
  • Advertisement
Sign in to follow this  
deffer

sockets through the firewall

This topic is 4863 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 making a simple app for sending files through the internet. I made a plain version, that can send one file to the similar app on the other side. I'm using c++ with widows sockets (visual 7.1). Now this works fine, both on localhost, and on local network, but as soon as I tested it through the internet, I simply couldn't make a connection. The guy on the other side was in some local network, so I don't know how to "call him", but I'm using modem, so I got my own temporary IP, so he should have been able to call me. But he wasn't. We got to a conclussion, that it must have been because of that network's firewall, that prohibits connections on random ports. So I run to the hills... ekhm, to google, and foud out some scratches of informations, mentioning some way around this. That I have to pretend to be a http server to be let in, or something. And that ICQ, BitTorrent and apps of the kind are all doing this. Those were only scratches, so I don't have even a clear picture here. Anybody can explain it to me?

Share this post


Link to post
Share on other sites
Advertisement
It's called HTTP tunneling. There are quite a few programs out there designed to tunnel network traffic; don't design your app to do it itself by default.

Share this post


Link to post
Share on other sites
Thanks for pointing me in right direction.

Wait a sec. Do you think I'm not supposed to do that? I already found a nice-looking article on CodeGuru here
??

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!