Sunday, February 15, 2009

Client and server on the same Ethernet communicating using TCP


Web clients and servers communicate using the Transmission Control Protocol, or TCP. TCP, in turn, uses the Internet Protocol, or IP, and IP communicates with a datalink layer of some form.

Even though the client and server communicate using an application protocol, the transport layers communicate using TCP. Note that the actual flow of information between the client and server goes down the protocol stack on one side, across the network, and up the protocol stack on the other side.

Also note that the client and server are typically user processes, while the TCP and IP protocols are normally part of the protocol stack within the kernel.

No comments: