Search:
Forum
General C++ Programming
Quick UDP Question
Quick UDP Question
Jan 9, 2010 at 3:56am UTC
NGen
(689)
If there are 2 programs that are listening on the same port, which program will messages being sent to that port be given to? Both programs? Whichever program reads the UDP message first?
Jan 9, 2010 at 3:45pm UTC
jsmith
(5804)
Neither, because I know of no OS that will allow two threads/processes to bind
the same UDP port to a socket.
If it were possible, I would guess that it would be undefined.
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs