[Winpcap-users] Start and Terminate WinPcap manually
Loris Degioanni
loris.degioanni at gmail.com
Mon Feb 20 17:15:25 GMT 2006
OEM WinPcap is already used in The Network Toolkit
(http://www.cacetech.com/products/toolkit.htm). We plan to release it as
a standalone, commercial product in the next weeks.
Loris
Gubrush . wrote:
> Hi
>
> I found this article to be useful:
>
> http://www.winpcap.org/pipermail/winpcap-users/2005-August/000270.html
>
> it rougly describes how to install the npf.sys file, create the service
> handle.
>
> you can start it manually by a call to StartService.
> I also discovered you can stop it by a call to ControlService with
> command argument SERVICE_CONTROL_STOP.
>
> ControlService can be used to determine when the service has been stopped.
>
> To remove the service handle you can call DeleteService.
>
> On the other hand, I've heard that the winpcap team is planning to
> release a WinPCAP OEM version that doesnt need to install anything. But
> the solution above works for me until that time. :)
>
>
>
>> From: "Ullrich, Michael (ext)" <michael.ullrich.ext at siemens.com>
>> Reply-To: winpcap-users at winpcap.org
>> To: <winpcap-users at winpcap.org>
>> Subject: [Winpcap-users] Start and Terminate WinPcap manually
>> Date: Sat, 18 Feb 2006 16:08:15 +0100
>>
>> Hello,
>>
>> can anyone tell me how to install the winpcap modules manually. I have
>> an windows application, using packet-detection based on WinPcap, that
>> should be distributed without an installationprogram - so I cannot run
>> the WinPcap installer.
>> This application is using the winpcap library for detecting
>> networkpackets. The dll`s wpcap.dll, packet.dll, pthreadvc.dll are
>> distibuted with the application. I want to know how I can activate the
>> winpcap service from my application - detect packets - and
>> deactivate/unlod the winpcap service when my application ends.
>>
>> Thanks
>>
>> Mike
>>
>
>
>> _______________________________________________
>> Winpcap-users mailing list
>> Winpcap-users at winpcap.org
>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
More information about the Winpcap-users
mailing list