home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / protocol / tcpip / 5236 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  985 b 

  1. Xref: sparky comp.protocols.tcp-ip:5236 comp.unix.wizards:4803
  2. Newsgroups: comp.protocols.tcp-ip,comp.unix.wizards
  3. Path: sparky!uunet!ftpbox!mothost!panther!panther3.panther.mot.com!ronf
  4. From: ronf@panther3.panther.mot.com (Ron Feigen)
  5. Subject: select()/ Bad File Number 
  6. Message-ID: <1992Nov19.203621.24788@panther.mot.com>
  7. Sender: usenet@panther.mot.com
  8. Nntp-Posting-Host: panther3.panther.mot.com
  9. Organization: Motorola Panther Project, Chandler, AZ
  10. Date: Thu, 19 Nov 1992 20:36:21 GMT
  11. Lines: 19
  12.  
  13. I have got a puzzler???????
  14.  
  15. I have a situation where a socket gets closed and instead of select() 
  16. returning informing me that the socket is ready for reading, I get -1 and errno
  17. "Bad File Number".  Of course I have no clue as to which fid is bad. I really
  18. don't want to have to do a sequential search through my FD_SETs checking
  19. status on every fid.  Is there any easier way?????
  20.  
  21. Any help/info/clues would be greatly appreciated!!!!!
  22.  
  23. Ron 
  24.  
  25.  
  26.  
  27. -- 
  28.  
  29. >
  30. Ron Feigen
  31. ronf@panther.mot.com
  32.