delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/31/01:47:00

From: larry AT 3-cities DOT com (Larry Gerhardstein)
Subject: Select function call
31 Jan 1997 01:47:00 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <32F199F6.37F3.cygnus.gnu-win32@3-cities.com>
Reply-To: larry AT 3-cities DOT com
Mime-Version: 1.0
X-Mailer: Mozilla 3.01C-BOSS (WinNT; U)
Original-To: gnu-win32 <gnu-win32 AT cygnus DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Does the select() function call work in Cygnus?  According to online
information and FAQ, I am led to believe it should.

A program which I am attempting to port to Cygnus calls select() to
multiplex standard-in and a network socket.  The network connect, and
I/O over the socket works.  However, the value returned by select()
always is -1 and the value in errno is 1 (EPERM), both on NT 3.51 and
4.0.  I have not tried this on Win95.

On Solaris 2.5.1, I link with libsocket and libnsl.  On Cygnus, I am
linking without any additional libraries.

-- 
Larry Gerhardstein -- Kennewick, Washington
larry AT 3-cities DOT com
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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