delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/12/20:15:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <008101bfa4e5$b2d60620$06003cd4@theunknown>
From: "s.rekow" <s DOT rekow AT sh-home DOT de>
To: <cygwin AT sourceware DOT cygnus DOT com>, <tau AT entropia DOT com>
References: <20000411191156A DOT tau AT entropia DOT com>
Subject: Re: non-blocking socket?
Date: Thu, 13 Apr 2000 03:14:27 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211

> 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 DOT easton AT wcom DOT com>
To: <cygwin AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


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