Re: getservbyport (fwd)

Herbert Rosmanith (herp@wildsau.idv.uni-linz.ac.at)
Tue, 14 May 1996 23:43:06 +0200 (MET DST)


>
> Use:
>
> if ((serv = getservbyport(htons(23), "tcp")) == NULL) {
^^^^^^^^^

this parameter is not "short", it's an int ! time to the RTfineManual...