Hi guys and girls.
I was wondering; is there a way, using winAPI or external libs and whatnot, to check the internet connection etc?
more important; check the speed the conmputer is currently uploading at?

The goal is to make a program that monitors the internet connection, and if the computer is disconnected, or uploading with less than xx kB/s shuts the computer down

Thanks in advance
(BTW im not asking you to write the program for me, im just asking if you know of any libs, funktions etc that might help me :) )

Member Avatar for jencas

UL-Speed = (amount of data)/(time to send that amount of data), so if you need 5 secs to send 1000 KB you have a speed of 200 KB/s.

i know, i was asking how to measure this in a program:)
i need to find the speed the computer is 'currently' uploading at.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.