I used the same dump so pcap_sendpacket() failed on the same packet. It was
TCP packet with size ~15000 bytes. Seems WinPCap cannot send such large
packets. Do you know the reason or any workaround for this?

 

From: Andriy Tylychko [mailto:[email protected]] 
Sent: Wednesday, September 28, 2011 5:18 PM
To: '[email protected]'
Subject: pcap_sendpacket used in loop fails on 1960th packet on different
machines

 

pcap_sendpacket() fails on sending 1960th packet.

 

I'm replaying traffic captured by tshark to .cap file. I read a packet from
file and send it to specific network interface by pcap_sendpacket()
(actually by pypcap Python wrapper) in loop. On two different machines first
one with Win7 SP1 x64 and the second one with Win2k3 SP2 x86 WinPCap always
fails sending 1960th packet. What does this magic number means?

_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to