Computing.Net > Forums > Programming > Telnet: Premature Termination

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Telnet: Premature Termination

Reply to Message Icon

Name: Tender Eyes
Date: July 5, 2002 at 17:54:10 Pacific
Comment:

I am making a little server that opens a socket and waits for a connection on port 5253. It is supposed to take a string of input from the client, reverse it, and send it back. Ok thats all easy enough. But my problem comes in with telnet. I open a connection on the IP which is 192.168.3.24 and the port 5253. I type in one letter and that letter is sent. I need to type a whole string and send it. Am I doing something wrong.

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Tender Eyes
Date: July 5, 2002 at 18:14:48 Pacific
Reply:

Also I cannot see what I am typing. I know the characters are getting in there but it would help if I could see what I was doing.

Thanks


0

Response Number 2
Name: Don Arnett
Date: July 5, 2002 at 19:58:09 Pacific
Reply:

telnet is expecting to be connecting to a telnet server, which probably does a lot more than what your server is doing.

So I would guess that you either need to upgrade your server to handle what the telnet client is sending or write your own client that will connect your server.


0

Response Number 3
Name: Tender Eyes
Date: July 5, 2002 at 20:50:39 Pacific
Reply:

I am just following a tutorial that I saw on some site. The person that wrote this seems to be able to do it. I looked though all the different options and didn't find anything about it. Though I found out how to make echo enabled. I downloaded two other telnet type programs and they both do the same thing. I was just hoping somebody else ran into this problem or knew how to fix it.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Telnet: Premature Termination

copying binary files c++ www.computing.net/answers/programming/copying-binary-files-c/7552.html

Telnet Batch File www.computing.net/answers/programming/telnet-batch-file/13963.html

telnet automation www.computing.net/answers/programming/telnet-automation/3355.html