How multiple instances listen to one UDP socket

Hello,

I have a multiple instances that bind and listen to the same UDP (with same IP and Port #).
Is it possible to do that?
I set my UDP socket to REUSEADDRESS, but it seems only 1 instance receives the data. The rest are not.

Please help me,

Thanks,
nsutanto

[314 byte] By [nsutanto] at [2007-12-31]
# 1
No, it's not possible to have two sockets bind to the same port on the same machine. The only way to do that would be to use a separate program to listen on the UDP port and then somehow have your application communicate with it so received messages will go to all instances.
JohnnyTheDon at 2007-9-6 > top of Msdn Tech,.NET Development,.NET Framework Networking and Communication...

.NET Development

Site Classified