home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / programm / 3360 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1012 b 

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!csd4.csd.uwm.edu!markh
  2. From: markh@csd4.csd.uwm.edu (Mark)
  3. Newsgroups: comp.programming
  4. Subject: Re: Network Chat Messaging Algorithm
  5. Date: 23 Dec 1992 11:58:41 GMT
  6. Organization: Computing Services Division, University of Wisconsin - Milwaukee
  7. Lines: 12
  8. Message-ID: <1h9k9hINN670@uwm.edu>
  9. References: <1h8752INNn3i@darkstar.UCSC.EDU>
  10. NNTP-Posting-Host: 129.89.7.4
  11.  
  12. In article <1h8752INNn3i@darkstar.UCSC.EDU> banshee@cats.ucsc.edu (Wailer at the Gates of Dawn) writes:
  13. >Fnet is a client/server system based on TCP/IP sockets.  The outline of
  14. >communication between the client and server is as follows:
  15. ...
  16. >    Specifically, the client connections are multiplexed by the server, using
  17. >the select() call....
  18. ...
  19. >    Net lag causes unacceptable waits to all clients.
  20.  
  21. Net lag is not causing those problems, select() is.  Always check for blocking
  22. even if set in non-blocking mode, because select() sometimes blocks regardless.
  23. Or, better, don't use select().  Use fork().
  24.