M
Mark
Hi...
Didn't see another group that would be more specific for this.
I inherited from another programmer a C# class using the System.Net.Sockets
classes to implement a udp broadcast/receive notification system so that all
the machines on a subnet can keep up-to-date on events.
In his classes, he prefaces each broadcast message with a guid so that when
a message comes in he can check to see if it's one he just sent. This
spurred a couple of questions for me:
1) I haven't yet seen a message I drop on the broadcast address come back on
my receiver socket. Was this just speculative overkill on his part?
2) Now I know this sounds a little daft, but he purposely set it up so that
multiple processes on the same box can both broadcast and receive. Would I
see the message coming from my box on one of the other processes (if I get
one started up) that's listening on the same port? Did I not get my message
back because the socket classes recognize my identity down the the process
level?
Thanks
Mark
Didn't see another group that would be more specific for this.
I inherited from another programmer a C# class using the System.Net.Sockets
classes to implement a udp broadcast/receive notification system so that all
the machines on a subnet can keep up-to-date on events.
In his classes, he prefaces each broadcast message with a guid so that when
a message comes in he can check to see if it's one he just sent. This
spurred a couple of questions for me:
1) I haven't yet seen a message I drop on the broadcast address come back on
my receiver socket. Was this just speculative overkill on his part?
2) Now I know this sounds a little daft, but he purposely set it up so that
multiple processes on the same box can both broadcast and receive. Would I
see the message coming from my box on one of the other processes (if I get
one started up) that's listening on the same port? Did I not get my message
back because the socket classes recognize my identity down the the process
level?
Thanks
Mark