Re: Use of /etc/services?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Use of /etc/services?
Date: 2002-06-07 06:02:38
Message-ID: 200206070602.g5762cU23217@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Curt Sampson wrote:
> On Fri, 7 Jun 2002, Bruce Momjian wrote:
>
> > Peter Eisentraut wrote:
> > > Since we now have an official entry in /etc/services, shouldn't we be able
> > > to make use of it, by using getservbyname() if a nonnumeric port number is
> > > specified?
> >
> > Is any OS actually shipping us in /etc/services?
>
> NetBSD will be, as of 1.7, though the 1.7 release is a while away yet.
> (Sorry, I didn't find out about this in time to get it into for 1.6,
> which is just about to be released.)

Sure, then let's start using getservbyname(), if it works.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2002-06-07 07:42:33 Re: Roadmap for a Win32 port
Previous Message Curt Sampson 2002-06-07 06:01:42 Re: Use of /etc/services?