![]() |
#1 |
Junior Member
Join Date: Mar 2014
Posts: 26
|
![]()
I use
inetc::get /silent "http://$StoragedHost:$StoragedPort/d2/r/hosts" $TEMP\host.txt /end but wait for so long time and I use inetc::get /CONNECTTIMEOUT 3 /RECEIVETIMEOUT3 /silent "http://$StoragedHost:$StoragedPort/d2/r/hosts" $TEMP\host.txt /end wait for so long time too. How I can wait 3 seconds return the result, now i wait for so long time to get the return result, thanks .. |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Why do you need to abort after 3 seconds? If someone is on a bad connection it might take 3 seconds or more to serve a regular request.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
|
Tags |
inetc, nsis |
Thread Tools | Search this Thread |
Display Modes | |
|
|