Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Martee

The telnet protocol

This topic is 6272 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, so I''m trying (and failing...) to write a simple telnet client. I can connect to a server and negotiate options (IAC''s are fun). The problem is ... what do I do next? I can''t seem to find any info on what do do after that. I haven''t found a login option (although there is one for logout - 18). Or ... am I not negotiating options properly, and whatever is supposed to happen when that''s done isn''t happening? ~~~~~~~~~~ Martee http://www.csc.uvic.ca/~mdill

Share this post


Link to post
Share on other sites
Advertisement
As far as I know, logging in isn''t part of the telnet protocol. That''s the problem for the box you''re connecting to. All you do is negotiate some options for data transfer (the IAC stuff) and send and receive data. If you telnet to a login port, the other side will provide you with the login prompt.

Share this post


Link to post
Share on other sites
Yeah... all the client does is negotiate options and display the data received from the server. The logging in process is just like any other prompt... the server sends the text, and the user with the client decides what to type and send in return... nothing automated about it. The server should just spit out the login prompt at you at some point with no action required on your part for it to do so.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!