🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

how to track sent and received data of internet connection

#2827
From: Tom
Date: Sat, 21 Jan 2006 12:06
9 lines
1526 bytes
I need to make an app that will check when user connects to the internet 
and start tracking the amout of data being sent and received through 
internet connection for billing reasons, but I don't know from where to 
start.
I know that my application must start with windows, and I have to use 
timer to check if connection has been established, but I don't know how 
to check for connection. And also I don't know how to track received and 
sent data.
Please any suggestions, tutorials, or help. thanx in advance.
Technical Details
Message-ID: <43d222fa@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,43a329492fea513e,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 21 Jan 2006 13:06:03 +0100
From: Tom <tom@net.com>
Reply-To:  tom@net.com
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: how to track sent and received data of internet connection
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 213.202.113.172
Message-ID: <43d222fa@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1137844986 213.202.113.172 (21 Jan 2006 04:03:06 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail