getservbyname() call
a.e.mossberg
aem at mthvax.cs.miami.edu
Sat Dec 23 06:18:21 AEST 1989
In article <30183 at shemp.CS.UCLA.EDU> jsin at island.seas.ucla.edu (John Sin) writes:
>I have just finished porting "timed" to A/UX, and I've ran into a small
>problem. First time I ran it, I got a message "timed/udp service not
>available" because getservbyname( "timed", "udp") returns NULL. So I
>added a line in /etc/services thus:
> timed 525/udp timeserver
>However, I found that it still does not recognize this service. I've
>already rebooted (soft boot) the machine, but that didn't make any
>difference.
Did you remember to add it to /etc/servers ? You'll need to add a
line which defines where the daemon lives so that inetd can find it
when a request comes in.
aem
--
a.e.mossberg / aem at mthvax.cs.miami.edu / aem at umiami.BITNET / Pahayokee Bioregion
Light parted from darkness, day from night, earth from the primal waters, and
the voice of Paul Robeson was divided from the silence. - Pablo Neruda
More information about the Comp.unix.aux
mailing list