lkml.org 
[lkml]   [1996]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: getservbyport (fwd)
Date
> 
> Use:
>
> if ((serv = getservbyport(htons(23), "tcp")) == NULL) {
^^^^^^^^^

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





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