🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4615

Re: Counting sent/received bytes of a connection

#4615
From: Vladimir Stefanovic
Date: Tue, 18 Jan 2005 19:49
25 lines
1731 bytes
>> Just curious, how can I count sent/received bytes
>> of some connection to internet/LAN?
>
> You need to be more specific.  How exactly are you using
> the connection in the first place?

For example, now I'm connected to internet via cable modem
which is reported in tray as a LAN with 100.0 Mbps.

I pay to the internet provider price per megabyte.

I was wandering how can *I* make software that will count how
many bytes were sent/received through the connection while
I was browsing internet.

The second scenario would be when I'm using dial-up modem.

If this all is not a trivial task, I would like to know in general what
would I need for that.




Best regards,
Vladimir Stefanovic
Technical Details
Message-ID: <41ed684c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41ed57e3@newsgroups.borland.com> <41ed61a6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9095fe533f7160b3
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <41ed57e3@newsgroups.borland.com> <41ed61a6$1@newsgroups.borland.com>
Subject: Re: Counting sent/received bytes of a connection
Date: Tue, 18 Jan 2005 20:49:40 +0100
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.117.212.65
Message-ID: <41ed684c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1106077772 82.117.212.65 (18 Jan 2005 11:49:32 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail