Skip to content
UDP Traffic Generator
C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
udpgen.c

README

 Description:

 A simple  UDP TRAFFIC GENERATOR
 Evaluate % of successful packets compared to transmitted packets

 Compilation:

 gcc udpgen.c -o udpgen -O3

 There are two types of unsuccessful packages
 1. Loss or drop by lower layers.
 2. Fail the checksum.
 This program counts both losses.

 Usage: ./udpgen [-v] -[s|c] [-n NUM_PACKET] [-l PACKET_LENGTH_IN_BYTES] [-b BANDWIDTH_IN_BYTES_PER_SEC] IPADDRESS PORT
 -v means verbose
 -s means server
 -c means client
 
 e.g.
 ./udpgen -vcl 1000 -b 10000 127.0.0.1 5556
 ./udpgen -vsl 1000 127.0.0.1 5556
Something went wrong with that request. Please try again.