Network Protocols

prepared by Declan Onunkwo


Introduction

Objective

The purpose of this project is to understand network protocols, specifically, TCP and UDP. Latency will be measured by calculating the time it takes to send an 8 byte, 64 byte and 512 byte message using both protocols, while throughput will be measured by calculating the bits per second it takes to send a 1mb message. Three sample message size (in bytes) will be sent continuously until they add up to 1mb. For a more detailed description of this project, click here or the logo at the top right.

Results

Observation

Apart from the fact that some machine pairs perform better than others, sending multiple messages using UDP produces a better throughput than sending the same set of messages using TCP.


References

  1. Transmission Control Protocol (TCP) (article) | Khan Academy. (n.d.). Khan Academy. https://www.khanacademy.org/computing/computers-and-internet/xcae6f4a7ff015e7d:the-internet/xcae6f4a7ff015e7d:transporting-packets/a/transmission-control-protocol--tcp

  2. Rosencrance, L., Lawton, G., & Moozakis, C. (2023, December 6). User Datagram Protocol (UDP). Networking. https://www.techtarget.com/searchnetworking/definition/UDP-User-Datagram-Protocol

Helpful links