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