[comp.unix.questions] accept error

pcb@gator.cacs.usl.edu (Peter C. Bahrs) (02/27/90)

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@gator.cacs.usl.edu |
| 2 Rex Street                                                           |
| University of Southwestern Louisiana      ...!uunet!dalsqnt!gator!pcb  | 
| Lafayette, LA 70504                                                    |
+-----------------------------------------------------------------------*/