[Winpcap-users] send a packet after start a capturing, it that ok?

Gianluca Varenni gianluca.varenni at cacetech.com
Wed May 19 08:22:58 PDT 2010


IndexOutOfRangeException certainly doesn't come from WinPcap.

Are you using a wrapper to use the WinPcap API?

Have a nice day
GV


From: jli 
Sent: Tuesday, May 18, 2010 6:58 PM
To: winpcap-users at winpcap.org 
Subject: [Winpcap-users] send a packet after start a capturing, it that ok?


Hi:

I'm developing USB-NIC driver , I want to control my hardware(cypress usb controller CY68013 and 3G  IC) via winpcap, and I met a problem;

I want to read a register of 3G IC, so in MyRead() function, I open a device , and start the capture by calling 

pcap_loop(adhandle,0,packet_handler,NULL),

 then, I call 

pcap_sendpacket()

 to send a command to my usb device so it will read register of 3G IC via i2c bus and reply the data to PC witch I want to captured in packet_handler, the sending is ok,

but when MyRead() function return, IndexOutOfRangeException  happened, can you tell me why?

 

 



--------------------------------------------------------------------------------


_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20100519/d67e0ed6/attachment.htm 


More information about the Winpcap-users mailing list