This is the mail archive of the
mailing list for the Cygwin project.
Re: non-blocking socket?
- To: <cygwin at sourceware dot cygnus dot com>,<tau at entropia dot com>
- Subject: Re: non-blocking socket?
- From: "s.rekow" <s dot rekow at sh-home dot de>
- Date: Thu, 13 Apr 2000 03:14:27 +0200
- References: <20000411191156A.firstname.lastname@example.org>
> Hi, I am wondering there is any way to use a non-blocking receive in
> cygwin programs. I don't care if it is winsock or unix emulation
> socket. From what we learned from cygwin faq, I tried the following
> but it still appears to block.
> I appreciate if non-blocking socket is supposed to work and if so, how
> to use it.
----- Original Message -----
From: Ray Easton <email@example.com>
Sent: Saturday, November 06, 1999 12:40 AM
Subject: Re: B20.1: socket functions always blocking?
> > In the attached example, I expected recv to be non-blocking.
> > In fact, it seems like all socket functions always block!
> All sockets are created in blocking mode. Use ioctl() to put them in
read the archive ;-)
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org