User Tools

Site Tools


en:network_terms:tcp

Transmission Control Protocol

The transmission control protocol, or short TCP, is a network protocol, that is widely used on the internet. The communication does use a network address and a port, but in contrast to UDP, the communication is connection based, including checks for defective packages. This has the advantage of being very reliable, as data does not get lost or undiscoveredly altered during the process.

The downside of it is, that it is rather slow. To establish a simple connection, there are multiple steps necessary:

  1. Connection request from the sender to the communications partner (recipient).
  2. Recipient answers it positively.
  3. Another confirmation by the sender, that the actual transfer is about to start.
  4. Begin actual transmission of information.

The transfer of data then again is a loop of sending data and getting the acknowledgements about receiving data from the other side. It gets even more complicated, when data is altered on route to the destination or when packages get lost altogether. Then the packages will be re-sent for as long as there is no positive acknowledgment by the recipient. All this overhead is not present in UDP, which makes it faster than TCP, but not as reliable. For the gaming sector reliability is usually not needed to that extent, so UDP is preferred for its speed.

See Also

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
en/network_terms/tcp.txt · Last modified: 2022-04-02-11-09 by 7saturn

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki