Networks use this encapsulation when sending data from one place to the next.
TCP stands for transmission control protocol and UDP stands for user datagram protocol. The difference when using these two types of protocol is how much data is guaranteed to be transferred to the destination requested. TCP guarantees your data will arrive safely and in its original full form. UDP only sends what happens to make it to the destination.
![]() |
| http://www.skullbox.net/tcpudp.php |
UDP does not guarantee the sender the data will arrive fully intact but it does guarantee that it will send it faster. Mr. Nelson said this would be okay to use when sending data like video or music because if anything is missing it wont be noticeable.
![]() |
| http://www.skullbox.net/tcpudp.php |
Depending on the data and the time limit a receiver may have, chose your packet protocol wisely. TCP may send the data in complete form it does take longer; UDP sends the data faster but may be missing a few things.
Sites used:
Skullbox
http://msdn.microsoft.com/

