UNIX Sockets - Broadcasting - Broadcast address

Kay M passhark@hotmail.com
Mon Dec 10 20:19:00 GMT 2001


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/



More information about the Cygwin mailing list