Wrote a server, but telnet can't connect
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines
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
Quoted 4 lines · Colin Foran
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?
Perhaps your machine has some built-in firewall ?
E.g. picking lattest RedHat and answering "strict security" into default-firewall building question in the installation tool will cause this kind of problems.
Quoted 2 lines
Again, thanks for the interest
Cheers
/Matti Aarnio