Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [62.30.233.42] From: "Kay M" To: cygwin AT cygwin DOT com Subject: UNIX Sockets - Broadcasting - Broadcast address Date: Tue, 11 Dec 2001 03:21:13 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 11 Dec 2001 03:21:13.0872 (UTC) FILETIME=[E34E6900:01C181F2] I have written a client program that connects to the local broadcast address and reads datagrams that are produced by a server. It works on my linux (no internet) machine. But on my PC under CYGWIN the binding of the socket to the Broadcast Address give an error EADDRNOAVAIL. I tried both 127.255.255.255 and also INADDR_BROADCAST. If I change broadcast address to 127.255.255.254, then server and client both work under Cygwin, but that isnt Broadcasting address though. Can anyone help /explain ? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/