This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

UNIX Sockets - Broadcasting - Broadcast address


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]