Google Answers Logo
View Question
 
Q: reading/selecting from correct socket when using REUSEPORT ( No Answer,   0 Comments )
Question  
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.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

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 Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy