non-blocking socket?
s.rekow
s.rekow@sh-home.de
Wed Apr 12 18:15:00 GMT 2000
> 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
program
> 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 <ray.easton@wcom.com>
To: <cygwin@sourceware.cygnus.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
nno-blocking mode.
>
> --
>
> ray
read the archive ;-)
Regards,
S.Rekow
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list