I want to send and receive UDP traffic and measure latency and packet loss "on load".
With "socket" I failed in achieving high rates, but something does not let to surpass more than 6 Mbps aprox (tested on diferent hardware, Linyx and Windows).
I have found that Scapy can do this by using "sendpfast" which relays in "TCPReplay". But that method does not let me to insert a sequence number in the packet and individual timestamps, because "sendpfast" just allow to reproduce a .pcap o "loop" a fixed datagram.
Google bringed me here searching a way to use directly TCPReplay from python.
This module can achieve what I want?
I want to send and receive UDP traffic and measure latency and packet loss "on load".
With "socket" I failed in achieving high rates, but something does not let to surpass more than 6 Mbps aprox (tested on diferent hardware, Linyx and Windows).
I have found that Scapy can do this by using "sendpfast" which relays in "TCPReplay". But that method does not let me to insert a sequence number in the packet and individual timestamps, because "sendpfast" just allow to reproduce a .pcap o "loop" a fixed datagram.
Google bringed me here searching a way to use directly TCPReplay from python.
This module can achieve what I want?