X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_50,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: sourceware.org Message-ID: <22159196.post@talk.nabble.com> Date: Mon, 23 Feb 2009 02:48:24 -0800 (PST) From: victhor_1983 To: cygwin AT cygwin DOT com Subject: Multicast Blocking Receiving Socket in Cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, 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? Thanks for your attention, Victor -- View this message in context: http://www.nabble.com/Multicast-Blocking-Receiving-Socket-in-Cygwin-tp22159196p22159196.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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/