|
|
Subject:
reading/selecting from correct socket when using REUSEPORT
Category: Computers > Programming Asked by: alibeth-ga List Price: $10.00 |
Posted:
15 Mar 2006 15:34 PST
Expires: 14 Apr 2006 16:34 PDT Question ID: 707742 |
I have created and bound to 2 sockets with the same port (500) and same address (INADDR_ANY) (I set the REUSEPORT option on both sockets before calling bind()). The only difference between these 2 sockets is an attribute that we've created in order to do specialized processing on outgoing datagrams. My problem is is that I'm receiving datagrams on the wrong socket. I use select to know when I should go try to read from a socket. Where is the decision made as to what socket the datagram will be received on if the attributes of the socket are the same? I'm looking for the real low-level routine in hopes that I can modify it to take into account our customized attributes. |
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |