delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/23/05:48:38

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 <victhor_1983 AT yahoo DOT es>
To: cygwin AT cygwin DOT com
Subject: Multicast Blocking Receiving Socket in Cygwin
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019