Difference between tcp and udp connection
| TCP | UDP | |
|---|---|---|
| Transmission Control Protocol | User datagram protocol | |
| tcp provide extensive error checking mechanisms. | udp only basic error checking using checksums. | |
| acknowledgment segment is present. | acknowledgement segment can't be present. | |
| speed of tcp is lower than udp | udp speed is faster than tcp | |
| tcp (20-60) bytes variable length header | udp have fix header size 8 bytes. | |
| tcp doesn't support broadcasting | udp support broadcasting |

No comments:
Post a Comment
Tell us how you like it.