The broadcast of python in FreeBSD

Stefan Lambrev stefan.lambrev at sun-fish.com
Wed Mar 28 06:54:25 UTC 2007


Hi,

Zhu Yan wrote:
> Hi, Everybody.
>
> In FreeBSD, I write a program in python(2.4.4 & 2.5), which include a
> broadcast routine.
>
> But, I send the broadcast in FreeBSD, it's different from others OS, like
> Windows, Linux...
>
> When I send the broadcast in FreeBSD with address 255.255.255.255, the
> packet can not be received by other OS.
>
> But I send the broadcast in non-BSD System with address 
> 255.255.255.255, all
> OS got it.
>
> When I send the broadcast in FreeBSD with address like 192.168.1.255, 
> all OS
> got it.
>
> I have seen the Python socket implement, there is no added option for
> FreeBSD, but why? Why it is different?
Can you change "sysctl net.inet.icmp.bmcastecho=1" and test again?
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"

-- 
Best Wishes,
Stefan Lambrev
ICQ# 24134177



More information about the freebsd-bugs mailing list