BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to track sent and received data of internet connection

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Socket)
View previous topic :: View next topic  
Author Message
Tom
Guest





PostPosted: Sat Jan 21, 2006 12:06 pm    Post subject: how to track sent and received data of internet connection Reply with quote



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.
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Jan 23, 2006 7:34 am    Post subject: Re: how to track sent and received data of internet connecti Reply with quote




"Tom" <tom (AT) net (DOT) com> wrote


Quote:
I know that my application must start with windows

Writing a service is best for that.

Quote:
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



Back to top
Tom
Guest





PostPosted: Tue Jan 24, 2006 4:48 pm    Post subject: Re: how to track sent and received data of internet connecti Reply with quote



thanks,
this is excellent, I'll let you know if I succeed in making my application


Remy Lebeau (TeamB) wrote:
Quote:
"Tom" <tom (AT) net (DOT) com> wrote


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



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Socket) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.