[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHb6LvpdHujbScC1YrVnwM5Nfp_HaSn1EAnT2eY87ZCWgXQ88w@mail.gmail.com>
Date: Thu, 18 Apr 2024 10:07:51 -0700
From: Bob McMahon <bob.mcmahon@...adcom.com>
To: netdev@...r.kernel.org
Subject: UDP recvfrom/recv question on connected/unconnected sockets
Hi All,
I have a question about the OS routing UDP packets to threads and connect
vs unconnected sockets. Same src/dst IP and same dst port, different src
port.
If there are two UDP sockets listening on the same port, each serviced by
its own thread and they both hang a recvfrom() or recv() (for the connected
socket,) will the OS route packets only to the thread with a connected
socket vs the thread with th unconnected socket? If not, what will happen?
Bob
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
Content of type "text/html" skipped
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4206 bytes)
Powered by blists - more mailing lists