Networking Forums

Networking Forums > Computer Networking > Linux Networking > Multiple UDP broadcast listeners not working for me

Reply
Thread Tools Display Modes

Multiple UDP broadcast listeners not working for me

 
 
Peter Dennett
Guest
Posts: n/a

 
      10-12-2003, 10:47 PM
I am trying to have multiple programs receive the
same UDP broadcast packets. I have seen
comments that SO_REUSEADDR should allow
this for LINUX. Without SO_REUSEADDR I in fact get
bind errors and with it I can perform the bind.
However only the most recently bound socket
gets the UDP packets. So for instance if I
start program1 it receives the packets just fine.
I leave it running and start program2. It now
starts receiving the packets but program1
no longer sees them. When I exit program2
program1 then begins to see the packets again.

This behavior is the same under both RedHat
7.3 and 9.

Suggestions as to what I am doing wrong?

Peter


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server 2003 obtaining multiple multiple IP addresses via DHCP pbrommer@gmail.com Windows Networking 1 03-29-2007 02:24 AM
single interface multiple networks + broadcast to all networks David Werner Linux Networking 4 02-04-2005 03:20 PM
connecting multiple machines in multiple rooms using two access points Osedax Latin Windows Networking 1 10-17-2004 03:59 PM
Reverse proxy to multiple origin servers on multiple ports John Beadles Linux Networking 1 06-17-2004 10:28 AM
Reverse proxy to multiple origin servers on multiple ports John Beadles Linux Networking 0 06-16-2004 09:23 PM



1 2 3 4 5 6 7 8 9 10 11