lkml.org 
[lkml]   [2002]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Wrote a server, but telnet can't connect
>
>
> if you do the accept as a statement of its own, and then test the
> result in the if() condition, then you avoid this common novice trap.
> The days when there was a real advantage to combining the function
> call and the conditional test are long gone.
>
> --

thanks Andrew, really appreciate the interest.
I've changed the program as youve suggested, and even done away with the error
checking altogether, but Telnet still gets timed out. dont suppose youve seen
anything else that might trip it up?
Again, thanks for the interest
Cheers

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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