© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
4y ago
•
12 replies
cap5lut
UDP Multicast does not work as expected [Answered]
I am starting to play around with UDP for some IPC stuff and wrote a simple UDP Multicast application just to have a playground to advance from
, but sadly its not going as expected
.
First of all
: here is the code of the small program
https://gist.github.com/cap5lut/ce3bfda6a0997b647a67a20d78d9e189
My expectation was that the writer sends the data and both readers would receive the data
, resulting in an output like
writer: sending 5
reader 1: read 5
reader 2: read 5
writer: sending 5
reader 1: read 5
reader 2: read 5
but that is not the case
, only the writer and reader 1 is spitting out stuff
.
what am I doing wrong
?
Gist
UDP Multicast Test.cs
GitHub Gist
: instantly share code
, notes
, and snippets
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Cannot receive packets from multicast udp sender
C
C# / help
2w ago
typeof(T).IsAssignableFrom does not work as I expected
C
C# / help
10mo ago
Why does this not work? [Answered]
C
C# / help
4y ago