I am using WinPcap functions to capture and to send packets. Everything is going perfect but I want to send the packets with the same time stamp that I received them.
I have a large pcap file of about 1 lakh packets in it. If I am sending it 50,000 packets are going perfect but after that packets are sent faster than time stamp and as a result the file sending is completing 10 minutes faster than original time. Give me a solution for this.
I am saving my file .pcap format and capturing using wireshark.
My doubt is that whether it depends on the queue length i.e.,
queue = pcap_sendqueue_alloc(caplen);
where queue is an object of pcap_send_queue *queue and caplen is the lenght of the file.
In my case caplen = 11,902,674 bytes.
Does this results my problem????????????
I posted my question 3 days ago but i didn,t get any answer till now.
Please any one help me.I require this answer as soon as posible.
Anyone please help me fast i want reply as soon as posible. Thank you.