Telnet Programming Client Server

Source: Internet
Author: User

Recently learned SSH protocol, for convenience, first implement a set of Telnet service, in order to apply SSH later.

Start with the Telnet client first. Here is a link to the RFC documentation: Http://oss.org.cn/man/develop/rfc/RFC854.txt. Basically, the introduction of Telnet is pretty much the same. But there are too few introductions about NVT, and no standard is given. Just like the keyboard's direction key ASCII mapping NVT don't know what it is. I haven't found any information on the internet for a long time. Finally, the NVT ASCII value of the arrow keys and some other keys is known by the Telnet software that grabs the package authority by itself. In that case, Getch () received a value of decimal: 224 72, and the conversion to ASCII is a decimal (/033[a), which is the/033[b. Because I did not find the other standards, I only dealt with the direction and the backspace bar some of the necessary nvtascii.


This article is from the "Wchrt" blog, make sure to keep this source http://wchrt.blog.51cto.com/8472636/1627262

Telnet Programming Client Server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.