delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/18/12:36:14

From: setera AT us DOT ibm DOT com
Subject: Programming server sockets without accept()??
18 Jan 1999 12:36:14 -0800 :
Message-ID: <852566FD.004D15A7.00.cygnus.gnu-win32@D51MTA10.pok.ibm.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Is it possible to program server-side sockets without a call to accept()?
I asked about this in an earlier message in the context of the X Font
Server.  This server apparently does not ever do an accept().  I was always
under the impression that without an accept() call, that no connections
could be made.  On the other hand, I know that accept() will block the
current thread of execution.  This is not the model on which the X servers
were built.  This server worked on B19, but does not work on B20 and I'm
trying to figure out why.

Can anyone offer any insight into if and how this can work?

Thanks,
Craig

Craig Setera
AS/400 Enterprise Java Development
IBM Rochester
setera AT us DOT ibm DOT com
(507) 253-3387 - Tie: 553-3387


-
For help on using this list (especially unsubscribing), 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