Re: getservbyport (fwd)
Warner Losh (imp@village.org)
Tue, 14 May 1996 21:33:09 -0600
: > if ((serv = getservbyport(htons(23), "tcp")) == NULL) {
: ^^^^^^^^^
: this parameter is not "short", it's an int ! time to the RTfineManual...
C's promotion rules will take care of that on both ends. Not a
problem.
Warner