Re: help on broadcast data lost in linux tcp/ip stack




Maxim Yegorushkin wrote:
Zhang Huan wrote:
i have a server, which broadcast data to a client. in the client,
there're two processes waiting on the same port,

Port identifies a process. Only one process is ever likely to receive
data for the same port.
yes, but not for broadcast or multicast packets, see the kernel code
udp_rcv() in net/ip4/udp.c


with SO_REUSEADDR set,

You misunderstand the purpose of SO_REUSEADDR. It is intended for TCP
servers doing active close only. Read man ip(7).

it is also intended for UDP with broadcasting or multicasting.

.



Relevant Pages

  • Re: Why is one port better than another for streaming video?
    ... >>randomly chosen, free port. ... >>minutes for a 300kb live broadcast to travel a 768kb up connection. ... >the website isn't involved in the data path). ... Well I know the player actually resides on the ...
    (microsoft.public.windowsmedia.encoder)
  • Re: prevent dhclient from exting
    ... > iface eth0 inet static ... port 67 interval 5 ... Oct 17 13:18:07 localhost dhclient: DHCPDISCOVER on eth0 to ... > file regarding broadcast address. ...
    (Debian-User)
  • Re: Should I configure a firewall to allow multicast?
    ... firewall is blocking various hosts to 192.168.1.255 port 138. ... but I know for certain there are no hosts with an address of 192.168.1.255. ... inet 192.168.1.9 netmask ffffff00 broadcast 192.168.1.255 ...
    (comp.security.firewalls)
  • Broadcasting for TV station
    ... I have to broadcast the video from any DV camera for local TV station ... from DV camera and broadcast it on particular port of the system successfully. ... Now I have to forward this transmission audio and video both from system ...
    (microsoft.public.windowsmedia.encoder)
  • Re: checking for bandwidth utilization
    ... command line on a cisco switch. ... you can easily see the real time traffic on any port, ... "storm-control broadcast level 3.00" which will allow up to 3% of the ... err-disabled mode fromt he storm control or the udld protection. ...
    (comp.dcom.sys.cisco)