🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
3 messages
3 total messages Started by Tom Sat, 21 Jan 2006 12:06
how to track sent and received data of internet connection
#2827
Author: 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.
Re: how to track sent and received data of internet connection
#2830
Author: Remy Lebeau (TeamB)
Date: Mon, 23 Jan 2006 07:34
14 lines
1304 bytes
"Tom" <tom@net.com> wrote in message news:43d222fa@newsgroups.borland.com...

> I know that my application must start with windows

Writing a service is best for that.

> I have to use timer to check if connection has been established

No, you do not.  Look at WinPCap (http://www.winpcap.org) for tracking all
network activity to/from the machine.  No timer needed.


Gambit
Re: how to track sent and received data of internet connection
#2847
Author: Tom
Date: Tue, 24 Jan 2006 16:48
20 lines
1573 bytes
thanks,
this is excellent, I'll let you know if I succeed in making my application


Remy Lebeau (TeamB) wrote:
> "Tom" <tom@net.com> wrote in message news:43d222fa@newsgroups.borland.com...
> 
>> I know that my application must start with windows
> 
> Writing a service is best for that.
> 
>> I have to use timer to check if connection has been established
> 
> No, you do not.  Look at WinPCap (http://www.winpcap.org) for tracking all
> network activity to/from the machine.  No timer needed.
> 
> 
> Gambit
> 
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads