As said in RFC 854:
A TELNET connection is a Transmission Control Protocol (TCP)
connection used to transmit data with interspersed TELNET control
information.
So, what's the TELNET control information? Can you get an example?
Control information is sent using sequences beginning with the IAC
code. See the section titled TELNET COMMAND STRUCTURE in the RFC.