TCP and UDP traffic generator