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#
  4. UdpClient.Send() hangs

UdpClient.Send() hangs

Scheduled Pinned Locked Moved C#
sysadminwindows-adminquestion
1 Posts 1 Posters 2 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.
  • M Offline
    M Offline
    mav northwind
    wrote on last edited by
    #1

    Hi guys! In one of my applications I use UDP multicast to broadcast event notifications to an arbitrary number of clients. This works nicely, except for one system where the application is running on Windows Server 2008R2. On this machine, the call to Send() for a newly created UdpClient hangs. I'm trying to send around 2K of data, well below the maximum size of 16K for UDP packages. The process of sending is quite straightforward (at least from my point of view): - Create a UdpClient - Join the corresponding multicast group - Serialize the event data - Send this data (in row to several destination ports, if this makes any difference) - Leave the multicast group I couldn't find anything about Send() hanging so far, but perhaps someone here has an explanation?

    Regards, mav -- Black holes are the places where God divided by 0...

    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