Transmission Control Protocol


Posted January 30, 2020 by outsources

outsource design Jobs, Outsource Blog Writer, Outsource content writter, Top Developers, Hire Freelancers.

 
TCP stands for Transmission Control Protocol. It is the most commonly used protocols on the Internet.
When you load a web page, your computer sends TCP packets to the web server’s address, asking it to send the web page to you. The web server responds by sending a stream of TCP packets, which your web browser stitches together to form the web page and display it to you. When you click a link, sign in, post a comment, or do anything else, your web browser sends TCP packets to the server and the server sends TCP packets back. TCP is not just one way communication, the remote system sends packets back to acknowledge it is received your packets.
TCP guarantees the recipient will receive the packets in order by numbering them. The recipient sends messages back to the sender saying it received the messages. If the sender does not get a correct response, it will resend the packets to ensure the recipient received them. Packets are also checked for errors. TCP is all about this reliability, packets sent with TCP are tracked so no data is lost or corrupted in transit. This is why file downloads do not become corrupted even if there are network hiccups. Of course, if the recipient is completely offline, your computer will give up and you will see an error message saying it cannot communicate with the remote host.Source Port and Destination Port fields together identify the two local end points of the particular connection. A port plus its hosts’ IP address forms a unique end point. Ports are used to communicate with the upper layer and distinguish different application sessions on the host.
• The Sequence Number and Acknowledgment Number fields specify bytes in the byte stream. The sequence number is used for segment differentiation and is useful for reordering or retransmitting lost segments. The Acknowledgment number is set to the next segment expected.
• Data offset or TCP header length indicates how many 4-byte words are contained in the TCP header.
• The Window field indicates how many bytes can be transmitted before an acknowledgment is received.
• The Checksum field is used to provide extra reliability and security to the TCP segment.
• The actual user data are included after the end of the header.

UDP:
UDP stands for User Datagram Protocol, a datagram is the same thing as a packet of information. The UDP protocol works similarly to TCP, but it throws all the error-checking stuff out. All the back-and-forth communication and deliverability guarantees slow things down.
When using UDP, packets are just sent to the recipient. The sender will not wait to make sure the recipient received the packet — it will just continue sending the next packets. If you are the recipient and you miss some UDP packets, too bad — you cannot ask for those packets again. There is no guarantee you are getting all the packets and there is no way to ask for a packet again if you miss it, but losing all this overhead means the computers can communicate more quickly.
UDP is used when speed is desirable and error correction is not necessary. For example, UDP is frequently used for live broadcasts and online games.
For more details on our products and services, please feel free to visit us at: outsource design Jobs, Outsource Blog Writer, Outsource content writter, Top Developers, Hire Freelancers.
-- END ---
Share Facebook Twitter
Print Friendly and PDF DisclaimerReport Abuse
Contact Email [email protected]
Issued By outsource
Country United States
Categories Business
Last Updated January 30, 2020