accept error

Peter C. Bahrs pcb at gator.cacs.usl.edu
Tue Feb 27 08:45:01 AEST 1990


Correct me if I am wrong (please).  accept returns -1 on error in errno.
errno == 24, EMMFILE -> too many open.  What the heck does this mean?
I create a socket S, do accepts and get S2, S3, ... SN until N = 59.
Then the next one bombs with the above error.  I have issued shutdown
and close on 2...59.  I noticed netstat shows 2...59 TIME_WAIT and
the finally go away. 
Any ideas?

/*----------- Thanks in advance... --Post or email ----------------------+
| Peter C. Bahrs                                                         |
| The USL-NASA Project                                                   |
| Center For Advanced Computer Studies      INET: pcb at gator.cacs.usl.edu |
| 2 Rex Street                                                           |
| University of Southwestern Louisiana      ...!uunet!dalsqnt!gator!pcb  | 
| Lafayette, LA 70504                                                    |
+-----------------------------------------------------------------------*/



More information about the Comp.unix.questions mailing list