Thread: VBpcap
View Single Post
Old Aug 14th, 2006, 6:03 PM   #7
Steiner
Newbie
 
Steiner's Avatar
 
Join Date: Jan 2006
Posts: 13
Rep Power: 0 Steiner is on a distinguished road
does anyone know an alternative to VBPCAP that I can use to make a packet sniffer if I can't get this to work, would rawsockets work at all?

here is the script though:
Dim numadapters As Long
Dim i As Integer
Dim d As AdINFO
numadapters = VBPcapInit ' Start VBPCAP engine

For i = 0 To numadapters - 1
vpGetAdapterInfo i, d  'Uncomment this and comment the line above
cbadapter.AddItem d.Description
Next

cbadapter.ListIndex = 0
thanks
Steiner is offline   Reply With Quote