Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. UDP listen sockets don't get any data behind Firewall (ZoneAlarm)

UDP listen sockets don't get any data behind Firewall (ZoneAlarm)

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++sysadminlearning
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    clayman87
    wrote on last edited by
    #1

    Hi! I've been trying to figure this bug out for a week, w/out any progress, so I'd like to ask for you help, maybe there's a well-known workaround. :) I have an UDP listen socket, which is to accept incoming data from the INET. The problem arises when I try to do this behind ZoneAlarm( so far I've tried this fwall ). I allow every actions (act as a server even for Inet), but when I switch it on, my socket does not receive a single byte of data, although it works properly w/out firewall. I've also given it a try with the original MFC CAsyncSocket UDP sample, and viola, it worked, even behind firewall. So I started to compare the two codes, but it turned out that they were exactly the same (the networking part of course). I've also checked the ZA settings and they are exactly the same too. I create the socket w/ almost the default values: just CAsyncSocketDerivedClass sock; sock.Create( 0, SOCK_DGRAM ); with this code it gets data without ZA but don't get a single byte behind ZA. Please, heeelp! Thanks in advance!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups