Skip to contentSkip to conversation

Wrote a server, but telnet can't connect

DISCUSSION Colin Foran 2 participants 2 messages Jun 3, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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

#2 lore raw
In reply to a message not in the archive
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