<!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.6000.16809" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>As you said, the easiest way is opening two instances on the
same interface and use the stat mode. Otherwise, you will need to process all
the packets on your own in your application and compute such
statistics.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Hope it helps</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 style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=list.bransh@gmail.com href="mailto:list.bransh@gmail.com">bransh
bransh</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> Sunday, March 29, 2009 8:18
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] Bandwidth Meter
with Winpcap!</DIV>
<DIV><BR></DIV>First of all, I want to greet you
all.<BR><BR> I'd like to use my NIC
in promiscuos mode and mesure the upload bandwidth used by a determined host
(filtering them by the source IP address of the packet) and at the same time
the download bandwidth used by the same host (it's clear that I want two
different "counters"). The problem is I can't figure out how to do it by using
Winpcap.<BR> At first I thought that
I could use the statistic mode but I'm not sure because I had to create two
instances of a device (one for filter the upload traffic and another to filter
the download traffic) so as to mesure them separately.<BR><BR>Could you help
me by giving me some idea of what I've to look for?<BR><BR>Thanks very much
for your answers...<BR><BR>Juan E. Caillava<BR><BR><BR><BR><BR><BR><BR><BR>
<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>