Detect Winsock upload speed... [modified]
-
I've seen various applications that run on Windows detect the upload speed of data being transfered upstream. Obviously this can be done through some feature in Winsock that I can't seem to find. I can do a send() on a non-blocking socket of 1MB of data and it returns immediately and successfully but I know the data is just queued and being sent at about 40K/sec. How? What API? Actually, never mind. I'm pretty sure I've figured it out. -- modified at 3:20 Monday 3rd September, 2007
-
I've seen various applications that run on Windows detect the upload speed of data being transfered upstream. Obviously this can be done through some feature in Winsock that I can't seem to find. I can do a send() on a non-blocking socket of 1MB of data and it returns immediately and successfully but I know the data is just queued and being sent at about 40K/sec. How? What API? Actually, never mind. I'm pretty sure I've figured it out. -- modified at 3:20 Monday 3rd September, 2007
IsDestinationReachable()
AIP helps?nave [OpenedFileFinder]
-
IsDestinationReachable()
AIP helps?nave [OpenedFileFinder]
I forgot to mention that I'd like to remain as cross-platform portable as possible (Preference: BSD-style socket calls) and also something that works under NT 4 (Win9x support would be nice but not necessary) and the language I'm using is C++. The IsDestinationReachable() API is not useful. It just returns the line speed of my Ethernet connection (100Mbps).