From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,aadbcce298c661e4 X-Google-Attributes: gidfee84,public From: Uncle Jeff Subject: Re: Error: port already open Date: 1999/10/29 Message-ID: <7vcseu$7iv$1@nnrp1.deja.com>#1/1 X-Deja-AN: 542140939 References: <7vabt1$dtt$1@nnrp1.deja.com> <7vae9u$djg$1@nserve1.acs.ucalgary.ca> X-Http-Proxy: 1.0 x37.deja.com:80 (Squid/1.1.22) for client 198.163.252.2 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Oct 29 19:27:30 1999 GMT X-MyDeja-Info: XMYDJUIDjeffhowie Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.5 [en] (Win95; I) 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.