Multicast Blocking Receiving Socket in Cygwin
Brian Ford
Brian.Ford@FlightSafety.com
Mon Feb 23 15:33:00 GMT 2009
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/
More information about the Cygwin
mailing list