/udptester

Simple UDP tester

Primary LanguageGoMIT LicenseMIT

UDP Tester

usptester

License

Welcome to the UDP Tester project! 🎉

Motivation

Have you ever wondered how resilient your modern network is against packet loss? So have I! 🤔 That's why I created this project to test packet loss in internal networks using UDP. During my tests, I was surprised to discover that, even with normal usage (watching retrocomputing videos on YouTube, responding to messages, etc.), the packet loss was zero! 😲

How to run the UDP Tester

  1. Clone this repository:
git clone https://github.com/your-username/udptester.git
cd udptester
  1. Build and run the UDP server:
go build -o server server/main.go
./server -port 12345
  1. On another machine, build and run the UDP client:
go build -o client client/main.go
./client -server your-server-ip:12345
  1. The client will send UDP packets to the server and wait for responses. If a response does not arrive within 3 seconds, it will move on to the next packet. To stop the client, press Ctrl+C. By default, the client will send 100000 packets.