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

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 12 Apr 2000 16:10:02 -0400
To: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: non-blocking socket? [OFFTOPIC]
Message-ID: <20000412161002.A5756@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com,
"cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
References: <20000411191156A DOT tau AT entropia DOT com> <Pine DOT LNX DOT 4 DOT 10 DOT 10004122133350 DOT 509-100000 AT bono DOT reversers DOT net>
Mime-Version: 1.0
User-Agent: Mutt/1.1.8i
In-Reply-To: <Pine.LNX.4.10.10004122133350.509-100000@bono.reversers.net>; from stefan@lkcc.org on Wed, Apr 12, 2000 at 09:34:53PM +0200

On Wed, Apr 12, 2000 at 09:34:53PM +0200, stefan wrote:
>On Tue, 11 Apr 2000 tau AT entropia DOT com wrote:
>
>> I appreciate if non-blocking socket is supposed to work and if so, how
>> to use it.
>
>>     /* winsock function to make it non-blocking */
>>     unsigned long a[1];
>>     int e = ioctlsocket(s, FIONBIO, a);
>>     if (e == -1) {
>>       printf("ioctlsocket failed\n");
>>       exit(1);
>>     }
>
>Try setting a[1] to 1 !!!
>
>Maybe this will help.

Can I point out that this all has nothing to do with cygwin?  You'd
probably be better off finding an appropriate winsock mailing list
or newsgroup.

cgf

--
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