Source language: Translate to:

How I can know if a network card is downloading data?

Questions and information about creating Internet aware NeoBook applications. Including PHP, HTML, FTP, HTTP, Email, etc.

Moderator: Neosoft Support

How I can know if a network card is downloading data?

Postby CN_Iceman » Thu Apr 05, 2012 1:49 pm

Hi to all.

Someone tell me how I can know if a network card is downloading data? I mean a plugin, function, sample pub... I need to know the number of bytes per second that are being downloaded.

I can handle this without problems if I download a file, because I calculate the file size, download time, etc.. But the problem is if the card is busy downloading data network (eg streaming).

Any ideas?

Thanks in advance.
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
CN_Iceman
 
Posts: 297
Joined: Tue Mar 01, 2011 11:04 am
Location: España

Re: How I can know if a network card is downloading data?

Postby dpayer » Thu Apr 05, 2012 5:17 pm

CN_Iceman wrote:Hi to all.

Someone tell me how I can know if a network card is downloading data? I mean a plugin, function, sample pub... I need to know the number of bytes per second that are being downloaded.

I can handle this without problems if I download a file, because I calculate the file size, download time, etc.. But the problem is if the card is busy downloading data network (eg streaming).

Any ideas?

Thanks in advance.


I would attack this prob by adapting a VBS script that can query your network card via the WMI.

Here is a link. You will need to adapt for NB.

http://www.itworld.com/nlswindows070320?page=0,0

David P.
User avatar
dpayer
 
Posts: 1380
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Postby CN_Iceman » Thu Apr 05, 2012 11:45 pm

Yes, that was the first idea, but... virger tell me a good advise: "Use DOS Command netstat".

I think that the problem is solved.

Anyway thank's!
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
CN_Iceman
 
Posts: 297
Joined: Tue Mar 01, 2011 11:04 am
Location: España


Return to NeoBook and the Internet

Who is online

Users browsing this forum: No registered users and 1 guest