home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9546 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.0 KB  |  24 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!mcsun!sunic!diku!robert
  3. From: robert@diku.dk (Robert Martin-Legene)
  4. Subject: unbinding a port
  5. Message-ID: <1992Jul16.131221.16529@odin.diku.dk>
  6. Sender: robert@freja.diku.dk
  7. Date: Thu, 16 Jul 1992 13:12:21 GMT
  8. Organization: Department of Computer Science, U of Copenhagen
  9. Lines: 13
  10.  
  11.  
  12. When you set up a program to run on a certain port, with socket,
  13. setsockopt, bind & listen, it's ready to connect to. But how do you
  14. make your server refuse connection to the port again (_without_
  15. shutting down your program)? I tried to see if man on bind etc refered
  16. to something, but there was nothing there. Unfortunately I haven't
  17. one of those smart UNIX-books, so I hope some of you out there
  18. can give me a hint.
  19.  
  20. -----------------------------------------------------------------------------
  21.           robert@diku.dk           |      Department of Computer Science
  22.        Robert Martin-Legene        |    University of Copenhagen,  Denmark
  23. -----------------------------------------------------------------------------
  24.