With packet.dll you don't have a filter compiler, so you must provide BPF pseudo-assembler code to PacketSetBpf(). Alternatively, you can use windump to generate the code (look at the -d, -dd or -ddd flags).
Loris > hi loris! > > is setting filters difficult with packet32.dll? > where can i get examples for filter setting using this dll? > thanks > Manimala Chakravarti > > > On Thu, 13 Jun 2002 Loris Degioanni wrote : > >Do you want to change the maximum captured portion? > >This can be done with a packet filter, which is quite difficult > >using > >packet32.dll. I suggest you to use wpcap.dll (look at the > >documentation of > >pcap_open_live() and pcap_setfilter()). > > > >Loris > > > > > hello everybody! > > > am developing a network monitoring system using vc++ and am > >using > > > packet32.h for my packet capturing requirements. > > > am not able to locate a function to vary the capture length of > >the > > > packet.i require this for packet reassembly > > > > > > thanks in advance > > > Manimala Chakravarti > > > _________________________________________________________ > > > Click below to experience Aishwarya Rai's beauty secrets. > >New > > > International Lux Skincare - It's not just soap, It's > >skincare. > > > http://www.luxskincare.com > > > > > > > > > > > > _________________________________________________________ > Click below to experience Aishwarya Rai's beauty secrets. New > International Lux Skincare - It's not just soap, It's skincare. > http://www.luxskincare.com >
