This is the mail archive of the cygwin 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]

Re: Multicast Blocking Receiving Socket in Cygwin


On Mon, 23 Feb 2009, victhor_1983 wrote:

> I am using a Multicast socket to receive UDP datagrams on Cygwin. I thought
> the sockets in Cygwin were blocking by defect (that is, the program waits at
> recvfrom() until it read something on the socket). However, my program does
> not wait, it keeps running. I didn't use fcntl or any other instruction to
> make the socket non-blocking, is there any way to make the socket blocking?

You are correct in that they should be blocking by default (and were/are
AFAIK).  Is this in Cygwin 1.5 or 1.7?  Can we see a source fragment?
What is errno?

-- 
Brian Ford
Staff Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]