Modes of Operation
Most telnet implementations operate in one of the following three modes:
- Default mode
- Character mode
- Line mode
1. Default Mode: If no other modes are invoked then this mode is used. Echoing is performed in this mode by the client. In this mode, the user types a character and the client echoes the character on the screen but it does not send it until the whole line is completed.
2. Character Mode: Each character typed in this mode is sent by the client to the server. A server in this type of mode normally echoes characters back to be displayed on the client’s screen.
3. Line Mode: Line editing like echoing, character erasing, etc. is done from the client side. The client will send the whole line to the server.
Introduction to TELNET
Pre-Requisite: Types of Network Protocol
TELNET stands for Teletype Network. It is a type of protocol that enables one computer to connect to the local computer. It is used as a standard TCP/IP protocol for virtual terminal service which is provided by ISO. The computer which starts the connection is known as the local computer.
The computer which is being connected to i.e. which accepts the connection known as the remote computer.
During telnet operation, whatever is being performed on the remote computer will be displayed by the local computer. Telnet operates on a client/server principle. The local computer uses a telnet client program and the remote computers use a telnet server program.