Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Uncle Jeff <jeffhowie@my-deja.com>
Subject: Re: Error: port already open
Date: 1999/10/29	[thread overview]
Message-ID: <7vcseu$7iv$1@nnrp1.deja.com> (raw)
In-Reply-To: 7vae9u$djg$1@nserve1.acs.ucalgary.ca

In article <7vae9u$djg$1@nserve1.acs.ucalgary.ca>,
  patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) wrote:
> No, this understanding is wrong. Placing a port name in /etc/services
> has no effect apart from giving that port a convenient symbolic name,
> which every individual program is free to use (or ignore). The only
> way
> to actually reserve a port number is to bind() to it - in which case
> it will not be available for other processes.

Interesting. :*|

The bind-lock would only be active while the process is running, though,
correct? If I understand then, we'd need to have a 'sleeper' process
bind the port while the server is down, and then kill that process
before restarting the server.
--
 ( >- ------------------------------------- -< )
 /~\           THKS :?) Uncle Jeff           /~\
|  \)      jeffhowie@NOJUNKmy-deja.com      (/  |
 \_|_ Linux, the choice of a GNU generation _|_/


Sent via Deja.com http://www.deja.com/
Before you buy.



  reply	other threads:[~1999-10-29  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-28  4:00 Error: port already open Uncle Jeff
1999-10-28  4:00 ` Serguei Patchkovskii
1999-10-29  4:00   ` Uncle Jeff [this message]
1999-11-08  5:00     ` /WB/
1999-11-08  5:00       ` Uncle Jeff
1999-11-09  5:00         ` /WB/
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox