I need the similarities and differences between HTTP,Telnet and TCP. Also are they all application layers? I know that TCP and telnet are but Im not sure about HTTP.
-
eh... TCP is transport layer. HTTP and Telnet are Application layer, but both use TCP for the transport layer.
TCP cannot be compared with HTTP and Telnet. It's a totally different animal, although you can compare it to it's lightweight brother, UDP, or compare the entire TCP/IP protocol suite with IPX/SPX, OSI, or perhaps Appletalk. Even HTTP and Telnet are apples to oranges. They're designed to do different things.
Both HTTP and Telnet, however, send data clear text and operate between a server and client. You can also tell by their port numbers that these are fairly old protocols that came before the need to secure network connections was realized.
In the case of HTTP, your browser sends HTTP requests, i.e. GET / HTTP/1.1, to a HTTP server. The server locates the specified resource, in this case index file, opens it if it exists, and returns a byte stream to the client's web browser. The web browser interprets the data and presents it to the user.
Likewise, telnet clients send data to a telnet server each time a keystroke is made. The telnet server processes each keystroke however it sees fit. A single keystroke may process a command, or the application running the telnet server may look for a carriage return. I'm not totally familiar with how telnet clients interpret data from telnet servers, but I believe the clients simply display the data onto the terminal. -
-
To the OP: you might also want to mention that http and telnet have been improved by way HTTPS and SSH. -
Yeah I agree, I enrolled to CCNA course before but only finished 1/2 of it. I already forgot the technical terms and more familiar with the application.
Having this background is a good foundation on networking jobs. -
Question for ppl that are good in networking
Discussion in 'Networking and Wireless' started by ChaosX5, Oct 1, 2009.