CSCE 515:
Computer Network Programming
- ----- Rlogin, Telnet, Ftp
Wenyuan Xu
Department of Computer Science and Engineering University of South Carolina
CSCE515 – Computer Network Programming 9/22/2008
TELNET vs. telnet
TELNET is a protocol that provides “a general, bi-
directional, eight-bit byte oriented communications facility”.
telnet is a program that supports the TELNET
protocol over TCP.
RLOGIN is a protocol rlogin is a program that supports the RLOGIN
protocol
CSCE515 – Computer Network Programming 9/22/2008
TELNET and RLOGIN
Both are used to remote login across network TELNET is standard application provided by
almost every TCP/IP implementation
Can work between hosts running different OSs Can negotiate options to determine features provided
by each end
RLOGIN is from BSD and was designed to work
between Unix systems only
CSCE515 – Computer Network Programming 9/22/2008
Local login
terminal driver
kernel
user at a terminal login shell CSCE515 – Computer Network Programming 9/22/2008
TELNET Client and Server
TELNET client
terminal driver TCP/IP
kernel
user at a terminal
TELNET server
TCP/IP pseudo- terminal driver
kernel
login shell terminal driver
kernel
user at a terminal login shell
Only ONE TCP connection !!!