Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 17th February 2005, 22:48   #1
cowwoc
Member
 
Join Date: Feb 2005
Posts: 51
Detecting connection speed

Hi,

I need to be able to (roughly) detect the user's connection speed at installation time so I can decide whether his should default to "full installation" or "compact installation".

Does anyone have any idea on how to implement this? At the very least, I need to be able to do some timer operations and NSIS doesn't seem to have any...?

Thanks,
Gili
cowwoc is offline   Reply With Quote
Old 18th February 2005, 08:06   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,336
You can call GetTickCount, using the System plug-in, before and after you use NSISdl to download a file from your website.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 18th February 2005, 08:44   #3
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,220
http://forums.winamp.com/showthread....light=Internet sample of InternetGetConnectedState usage. You can detect connection type LAN/modem.
Takhir is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump