home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.protocols.tcp-ip:5236 comp.unix.wizards:4803
- Newsgroups: comp.protocols.tcp-ip,comp.unix.wizards
- Path: sparky!uunet!ftpbox!mothost!panther!panther3.panther.mot.com!ronf
- From: ronf@panther3.panther.mot.com (Ron Feigen)
- Subject: select()/ Bad File Number
- Message-ID: <1992Nov19.203621.24788@panther.mot.com>
- Sender: usenet@panther.mot.com
- Nntp-Posting-Host: panther3.panther.mot.com
- Organization: Motorola Panther Project, Chandler, AZ
- Date: Thu, 19 Nov 1992 20:36:21 GMT
- Lines: 19
-
- I have got a puzzler???????
-
- I have a situation where a socket gets closed and instead of select()
- returning informing me that the socket is ready for reading, I get -1 and errno
- "Bad File Number". Of course I have no clue as to which fid is bad. I really
- don't want to have to do a sequential search through my FD_SETs checking
- status on every fid. Is there any easier way?????
-
- Any help/info/clues would be greatly appreciated!!!!!
-
- Ron
-
-
-
- --
-
- >
- Ron Feigen
- ronf@panther.mot.com
-