juise / udpgen

UDP Traffic Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

 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

About

UDP Traffic Generator


Languages

Language:C 100.0%