Search
Search titles only
By:
Search titles only
By:
Home
Shop
Forums
New posts
Search forums
What's new
New posts
New resources
New profile posts
Latest activity
Resources
Latest reviews
Search resources
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Reply to thread
Home
Forums
Community
General Discussion
Learn The Difference Between TCP And UDP In Networking
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="cielopearly" data-source="post: 889" data-attributes="member: 4"><p><h3>Transmission Control Protocol (TCP)</h3><p>Transmission Control Protocol (TCP) is connection-oriented, meaning once a connection has been established, data can be transmitted in two directions. TCP has built-in systems to check for errors and to guarantee data will be delivered in the order it was sent, making it the perfect protocol for transferring information like still images, data files, and web pages.</p><p>But while TCP is instinctively reliable, its feedback mechanisms also result in a larger overhead, translating to greater use of the available bandwidth on your network.</p><p></p><p>User Datagram Protocol (UDP)</p><p></p><p>User Datagram Protocol (UDP) is a simpler, connectionless Internet protocol wherein error-checking and recovery services are not required. With UDP, there is no overhead for opening a connection, maintaining a connection, or terminating a connection; data is continuously sent to the recipient, whether or not they receive it.</p><p>Although UDP isn’t ideal for sending an email, viewing a webpage, or downloading a file, it is largely preferred for real-time communications like broadcast or multitasks network transmission.</p><p></p><h3>Differences between TCP and UDP</h3> <ul> <li data-xf-list-type="ul">TCP is a connection-oriented protocol, whereas UDP is a connectionless protocol.</li> <li data-xf-list-type="ul">The speed for TCP is slower while the speed of UDP is faster.</li> <li data-xf-list-type="ul">TCP uses handshake protocols like SYN, SYN-ACK, ACK while UDP uses no handshake protocols.</li> <li data-xf-list-type="ul">TCP does error checking and also makes error recovery, on the other hand, UDP performs error checking, but it discards erroneous packets.</li> <li data-xf-list-type="ul">TCP has acknowledgment segments, but UDP does not have any acknowledgment segments.</li> <li data-xf-list-type="ul">TCP is heavy-weight, and UDP is lightweight.</li> </ul><h3>TCP vs UDP Speed</h3><p>The reason for UDP’s superior speed over TCP is that its non-existent ‘acknowledgment’ supports a continuous packet stream. Since a TCP connection always acknowledges a set of packets (whether or not the connection is totally reliable), retransmission must occur for every negative acknowledgment where a data packet has been lost.</p><p>But because UDP avoids the unnecessary overheads of TCP transport, it’s incredibly efficient in terms of bandwidth, and much less demanding of poor-performing networks, as well.</p></blockquote><p></p>
[QUOTE="cielopearly, post: 889, member: 4"] [HEADING=2]Transmission Control Protocol (TCP)[/HEADING] Transmission Control Protocol (TCP) is connection-oriented, meaning once a connection has been established, data can be transmitted in two directions. TCP has built-in systems to check for errors and to guarantee data will be delivered in the order it was sent, making it the perfect protocol for transferring information like still images, data files, and web pages. But while TCP is instinctively reliable, its feedback mechanisms also result in a larger overhead, translating to greater use of the available bandwidth on your network. User Datagram Protocol (UDP) User Datagram Protocol (UDP) is a simpler, connectionless Internet protocol wherein error-checking and recovery services are not required. With UDP, there is no overhead for opening a connection, maintaining a connection, or terminating a connection; data is continuously sent to the recipient, whether or not they receive it. Although UDP isn’t ideal for sending an email, viewing a webpage, or downloading a file, it is largely preferred for real-time communications like broadcast or multitasks network transmission. [HEADING=2]Differences between TCP and UDP[/HEADING] [LIST] [*]TCP is a connection-oriented protocol, whereas UDP is a connectionless protocol. [*]The speed for TCP is slower while the speed of UDP is faster. [*]TCP uses handshake protocols like SYN, SYN-ACK, ACK while UDP uses no handshake protocols. [*]TCP does error checking and also makes error recovery, on the other hand, UDP performs error checking, but it discards erroneous packets. [*]TCP has acknowledgment segments, but UDP does not have any acknowledgment segments. [*]TCP is heavy-weight, and UDP is lightweight. [/LIST] [HEADING=2]TCP vs UDP Speed[/HEADING] The reason for UDP’s superior speed over TCP is that its non-existent ‘acknowledgment’ supports a continuous packet stream. Since a TCP connection always acknowledges a set of packets (whether or not the connection is totally reliable), retransmission must occur for every negative acknowledgment where a data packet has been lost. But because UDP avoids the unnecessary overheads of TCP transport, it’s incredibly efficient in terms of bandwidth, and much less demanding of poor-performing networks, as well. [/QUOTE]
Verification
Post reply
Home
Forums
Community
General Discussion
Learn The Difference Between TCP And UDP In Networking
Top
Bottom