From owner-freebsd-net@FreeBSD.ORG Wed Mar 28 05:26:55 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 881AF16A402 for ; Wed, 28 Mar 2007 05:26:55 +0000 (UTC) (envelope-from nayuhz@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 495EC13C45B for ; Wed, 28 Mar 2007 05:26:55 +0000 (UTC) (envelope-from nayuhz@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so2588165ana for ; Tue, 27 Mar 2007 22:26:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=FMs4qzMpWhJQAeMtaauRVJxFpIUxVsdFgraZrnnO7WS3pDIbllWbYbR29AYijY1jokLShWlJKSbyt0wtxz/QMI6ehLlbYkaM3JJ3kR9U33ViLBsxn/BhDc/kpyphVegraF7n38aQQt1Ct4lO4EHxgdN2nzMSfGN/bxLF41qQELw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=jnECr7mnflWyAPUqtiq79+8QdONq9R5cI3rDEfV5SFnGldhfAR4ihjzGvuOEnTP4uSihngmk1UZxdkMdje4GH3kCOJu9gs8+4JKBiQxMYgtI6Y63Njfg0t4AVqy1vtT6nNQUE85oDssnlf4jJof+Joq9g1wuv21hzOs59ez97pk= Received: by 10.100.33.14 with SMTP id g14mr54931ang.1175059614270; Tue, 27 Mar 2007 22:26:54 -0700 (PDT) Received: by 10.100.167.12 with HTTP; Tue, 27 Mar 2007 22:26:54 -0700 (PDT) Message-ID: <8ae5ea120703272226q39b37660qb2ad25f0f8693a18@mail.gmail.com> Date: Wed, 28 Mar 2007 13:26:54 +0800 From: "Zhu Yan" To: freebsd-net@freebsd.org, freebsd-python@freebsd.org, freebsd-bugs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: The broadcast of python in FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2007 05:26:55 -0000 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?