Jump to content
  • Advertisement

Archived

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

breville

Writing a UDP server behind a firewall?

This topic is 5979 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

hi all, I am writing a little peer2peer chat application which I have running on my computer, and I''m having some trouble with my firewall software. You can read about my program at www.brendanland.com if you''re interested; there are quite a few explanations on how it works. I have ZoneAlarm running here. When someone wants to connect to my computer, they send a UDP message to a known port on my box. I have a socket bind()ed to the port, but I never called listen() because I''m only accepting UDP, not TCP. However, the UDP message never arrives. I thought I could get around this by having the server on my box first send a UDP message out to the client who''s about to connect. That way ZoneAlarm will see their incoming packet as a "reply" to the one I sent, and will let the packet through. Should this work? Because it didn''t seem to. Should I perhaps be calling listen() on my server port? Would that help? The basic question is this: how can my program tell ZoneAlarm that it should let UDP packets through to a given port? thanks very much! - Brendan

Share this post


Link to post
Share on other sites
Advertisement

  • 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!