Tuesday, December 6, 2011

How TCP and UDP work

TCP the transmission control protocol is the backbone of the internet. The data packets follow rules laid by TCP, then yours information goes from yours computer to computer to the recipient of the message. All the communication occurs as the handshakes with signals and acknowledgements continuously offered. TCP ensures that minimal packet information los by continuous information verifications, minimal data corruption ensures that the smooth sailing of data most of the times. For this it identifies the correction server via domain name server through synchronization, clock and error correlation processes. Thus it makes zero information loss and for this the whole process takes time to enable. The parity check and the data loss are re-compensated by resending packets. Now all these checks completed and the real process of data transfer begins between host and destinations computers. Now the required home page opens. The domain name server DNS use the TCP and UDP depends on the response time factors.  If headers are greater than 512 bytes then the question of using the TCP arrives. TCP consumes high band width resources thus give rise to a new protocol UDP known as User datagram protocol removes the massive overhead count. So, the entire handover and the synchronization process are minimized.

In actual TCP consumes a lot of bandwidth, so there evolves one new protocol known as user datagram protocol famously known as UDP. Here, time taken for handover and synchronization is reduced. UDP is a connection less application with the packet headers less than 512 bytes. UDP is proffered for heavy applications such as video steaming and video chat and VOIP which is also known as voice over internet protocol such as Skype, as this runs on UDP.

Initial handshake, same as the TCP, then the data communication begins. Source and destinations posts are transmitted. It gives an additional 16 bits of length and checksum is then transmitted. Transfer of data is faster and the time consumed in earlier TCP process is effectively saved.
A place to share my experiences as a mother of four


Post a Comment