home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10358 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  916 b 

  1. Path: sparky!uunet!stanford.edu!ames!claris!szebra!hienl
  2. From: hienl@Saigon.COM (Hien Luu)
  3. Newsgroups: comp.unix.questions
  4. Subject: Socket and File Descriptor
  5. Message-ID: <1992Aug22.200016.10654@Saigon.COM>
  6. Date: 22 Aug 92 20:00:16 GMT
  7. Distribution: usa
  8. Organization: Station Zebra Corp, Sunnyvale CA Ph:408-739-1520
  9. Lines: 12
  10.  
  11. I was reading about sockets and learned that sockets are referenced by
  12. file descriptors.  I assume this is the same file descriptors that comes
  13. from the file descriptor table.  I also learned that each UNIX process
  14. has 20 files descriptor at its disposals.  What happens if the a process
  15. reaches the maximum number of allowed file descriptor?  Does the process
  16. get killed by the operating system?
  17.  
  18. I would appreciate some more explanation the relationship between
  19. the file descriptor and sockets.  Where does the number 20 come from and
  20. is this a configurable number?
  21.  
  22. thanks in advance.
  23.