I need to do an important test. The test's condition is as bellow.
I am using winsock and I have 2 UDP sockets (Sock-A and Sock-B) which with SO_REUSEADDR option both of them have been bound to port 1000 on one PC. Both of them transmit UDP packets out to another socket (Sock-C) and Sock-C which is located in different LAN receives their messages.
Sock-C responds them with some messages, but unfortunately I can see just Sock-A (which has been opened sooner) just gets the messages, and Sock-B doesn't get anything. When I close Sock-A I can see that Sock-B starts to receiving the messages.
Any of you know what should I do to let both of Sock-A and Sock-B can receive messages from Sock-C?
Thanks~