On Aug 25, 5:06 pm, Michael Schlenker <
schl...@uni-oldenburg.de>
wrote:
>
flyingdragon0...@163.com schrieb:> I want to use tcl to capture and send packet,but when I install
> > winpcap and use "load wpcap.dll" to load it,the tclsh return "couldn't
> > find procedure Wpcap_Init".Did you know what is the problem ,and how
> > can I do?
>
> Maybe use something like tclpcap?
http://wiki.tcl.tk/14370
>
> You cannot load any random dll in Tcl and access functions in it (or you
> can but you need to use something like ffidl to manage the access).
>
> For sending packages hping3 might also be interesting.
>
> Michael
http://wiki.tcl.tk/13150 contains a link to a Tcl binding to WinPCAP.
Mark