lkml.org 
[lkml]   [1996]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: getservbyport (fwd)
Date
From

: > 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



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.118 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site