delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/10/22:23:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <passhark AT hotmail DOT com>
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
Message-ID: <F584MxpItaguJ1eFMYU00001c6c@hotmail.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019