From owner-freebsd-python@FreeBSD.ORG Wed Mar 28 06:54:25 2007 Return-Path: X-Original-To: freebsd-python@freebsd.org Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80EE016A400; Wed, 28 Mar 2007 06:54:25 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 39E1513C4BA; Wed, 28 Mar 2007 06:54:25 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id 968631B10F1D; Wed, 28 Mar 2007 08:24:56 +0200 (CEST) Received: from [192.168.3.125] (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 92B551B10F1B; Wed, 28 Mar 2007 08:24:56 +0200 (CEST) Message-ID: <460A0A38.7000607@sun-fish.com> Date: Wed, 28 Mar 2007 09:24:56 +0300 From: Stefan Lambrev User-Agent: Thunderbird 1.5.0.10 (X11/20070326) MIME-Version: 1.0 To: Zhu Yan References: <8ae5ea120703272226q39b37660qb2ad25f0f8693a18@mail.gmail.com> In-Reply-To: <8ae5ea120703272226q39b37660qb2ad25f0f8693a18@mail.gmail.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH Cc: freebsd-net@freebsd.org, freebsd-bugs@freebsd.org, freebsd-python@freebsd.org Subject: Re: The broadcast of python in FreeBSD X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stefan.lambrev@sun-fish.com List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2007 06:54:25 -0000 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Best Wishes, Stefan Lambrev ICQ# 24134177