<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>"net start npf" tell me that the service is already
running. </FONT></DIV>
<DIV><FONT face=Arial
size=2>packet.dll version:
3.1.0.27 </FONT></DIV>
<DIV><FONT face=Arial size=2>wanpacket.dll
version: 3.1.0.27 </FONT></DIV>
<DIV><FONT face=Arial
size=2>wpcap.dll version:
3.1.0.27 </FONT></DIV>
<DIV><FONT face=Arial
size=2>npf.sys
version: 3.1.0.27 </FONT></DIV>
<DIV><FONT face=Arial size=2>I'm using winpcap 3 because winpcap 4 doesn't
detect my wireless adapter and my ethernet adapter. </FONT></DIV>
<DIV><FONT face=Arial size=2>I tried winpcap 4 beta that detect my wireless
adapter and my ethernet adapter and the problem is the same the memory usage
increase of 8KB and the v.m. usage increase of 30KB every time i call
findalldevs_ex. I have windows xp professional sp2 installed on my
machine. </FONT></DIV>
<DIV><FONT face=Arial size=2>Marvell yukon Gigabit ethernet 10/100/1000Base-T
Adapter, Copper RJ-45 (as ethernet adapter). </FONT></DIV>
<DIV><FONT face=Arial size=2>802.11b USB Wireless LAN Adapter (as wlan
adapter). </FONT></DIV>
<DIV><FONT face=Arial size=2>Is there a method to unload the dll from memory or
something else? </FONT></DIV>
<DIV><FONT face=Arial size=2>Some devices for example the usb modem
was detected by findalldevs_ex only after the effective connection and
autentication, what can i do to detect these devices without increase the
memory usage of my application?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gianluca.varenni@cacetech.com
href="mailto:gianluca.varenni@cacetech.com">Gianluca Varenni</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 13, 2007 5:09
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users] memory leak
in pcap_findalldevs_ex?</DIV>
<DIV><BR></DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=demetrio@mediaplan.it href="mailto:demetrio@mediaplan.it">Demetrio
Megali</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 13, 2007 12:29
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users] memory
leak in pcap_findalldevs_ex?</DIV>
<DIV><FONT size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><BR></DIV>
<DIV><FONT face=Arial size=2>The virtual memory usage explode the v.m. size
<FONT face="Times New Roman" size=3>increases itself about 30KB every time
and the memory usage <FONT face=Arial size=2>8 to 20 KB every time, i use
winpcap 4 and there is another strange thing: on my pc the older
vesions of wiipcap can find every devices: 56k modem, wireless lan and
ethernet adapter; winpcap 4 detect only my 56K
modem.</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>some help?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></BLOCKQUOTE>
<DIV><FONT size=2>This sounds quite suspect.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Please open a command line and run "net start npf". It
should either tell you that the service was already running, or that it has
been started. If not, there's a problem with the installation.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Next, check the version of these files:</FONT></DIV>
<DIV><FONT size=2>- \windows\system32\packet.dll</FONT></DIV>
<DIV><FONT size=2>- \windows\system32\wanpacket.dll</FONT></DIV>
<DIV><FONT size=2>- \windows\system32\wpcap.dll</FONT></DIV>
<DIV><FONT size=2>- \windows\system32\drivers\npf.sys</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>They should all have the same version
(4.0.0.755).</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gianluca.varenni@cacetech.com
href="mailto:gianluca.varenni@cacetech.com">Gianluca Varenni</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 13, 2007 2:25
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users] memory
leak in pcap_findalldevs_ex?</DIV>
<DIV><FONT size=2></FONT><BR></DIV>
<DIV><FONT size=2>Demetrio,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>does the virtual memory usage explode if you call
findalldevs_ex/freealldevs in a tight loop (i.e. without the 20s pause)?
If you use task manager to look at the memory usage, in the processes tab
enable the "VM size" column, it's way more useful in case of memory
leaks.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=demetrio@mediaplan.it
href="mailto:demetrio@mediaplan.it">Demetrio Megali</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 12, 2007
8:52 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] memory
leak in pcap_findalldevs_ex?</DIV>
<DIV><FONT size=2></FONT><BR></DIV>
<DIV>
<DIV><FONT face=Arial size=2>My program does nothing in particular: it
calls findalldevs_ex every 20 seconds,make a list of devices and then
call freealldevs; I have noticed that every 20 seconds the memory
allocated by the program increments from 8 to 20 KB. I use winpcap
4 on windows xp service pack2. Can you help me?
Regards.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
-Demetrio</FONT> </DIV></DIV>
<P></P><FONT face=Arial size=2></FONT>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>