How to find out dat how many number of packets have travelled in 1 minute in C?
Actually our project is traffic generator via wired networks...!
we are in a module which is traffic generating parameters...where we send packets with different ip,mac addresses and port numbers...!
now we want to know how many bits can be sent in 1 minute including the delay...so that we can enhance the speed of sending the packets by making use even of that delay time....
so that more number of packets can be sent with enhanced speed...!
also there is something like...if the packet size is less...we should be able to send more number of packets than the usual sending...we are completely new
and also i want to know how to add a timer in our program so that we can count how many packets are sent for 1 minute..that is when the timer reaches 60seconds!
|