How does telnet differ from a raw tcp connection

后端 未结 3 954
悲哀的现实
悲哀的现实 2021-02-05 06:08

I am trying to send commands to a server via a python script. I can see the socket connection being established on the server. But the commands I am sending across , do not seem

3条回答
  •  迷失自我
    2021-02-05 06:57

    Keep in mind that Telnet is an application layer protocol while TCP is a transport layer protocol. Telnet uses TCP in order to transmit data. That is a big fundamental difference between Telnet and TCP.

    See: OSI Model wikipedia page

提交回复
热议问题