Article View: borland.public.cppbuilder.internet.socket
Article #4549Re: Counting sent/received bytes of a connection
From: Hans Galema
Date: Fri, 21 Jan 2005 19:03
Date: Fri, 21 Jan 2005 19:03
26 lines
2061 bytes
2061 bytes
Vladimir Stefanovic wrote: > ....I thought that there was some > simple solution, because when the tray identification > of a connection (two monitors) is active, and I click on > it I can see bytes/packets that are sent/received. Maybe an idea. I was configuration my router using a webinterface. It can display a page with that info: Statistics This page shows the packet counters for transmission and reception regarding to networks. Wireless LAN Sent Packets 11599 Received Packets 7178 Ethernet LAN Sent Packets 4365 Received Packets 17 Ethernet WAN Sent Packets 6961 Received Packets 14908 So if you have such a router then the router will tell you if you use it's interface. If you want to do it prograsmmatically then you have to grab that html page and parse it. You could use a HTTP component for it or TCppWebBrowser. Just an idea today. Hans.
Technical Details
Message-ID:
<41f15239$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!uninett.no!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41ed57e3@newsgroups.borland.com> <41ed61a6$1@newsgroups.borland.com> <41ed684c@newsgroups.borland.com> <41edb59b$1@newsgroups.borland.com> <41ee8cdb@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 Date: Fri, 21 Jan 2005 20:03:23 +0100 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Counting sent/received bytes of a connection References: <41ed57e3@newsgroups.borland.com> <41ed61a6$1@newsgroups.borland.com> <41ed684c@newsgroups.borland.com> <41edb59b$1@newsgroups.borland.com> <41ee8cdb@newsgroups.borland.com> In-Reply-To: <41ee8cdb@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <41f15239$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1106334265 129.125.201.248 (21 Jan 2005 11:04:25 -0800) Lines: 26 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!uninett.no!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail