Ghost21 0 Posted October 7, 2011 I'm trying to get results as fast and accurate as possibe. Currentley pinging one pc at a time and retrieving info is great but if I could ping 1000 pcs in like 10seconds then we got some good lovin. I know Autoit Doesn't do MultiTreading but there has got to be a way around this fact.. Always lots a ways to shave a cat.. Share this post Link to post Share on other sites
UEZ 1,274 Posted October 7, 2011 Assumed your pc sends 100 ping requests at once what will the network admin think? Have a closer look to the timer functions. Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Share this post Link to post Share on other sites
Ghost21 0 Posted October 7, 2011 I am the Network Admin Share this post Link to post Share on other sites
UEZ 1,274 Posted October 7, 2011 (edited) I wrote a small tool named or here. Maybe it is usefull for you. Br,UEZ Edited October 7, 2011 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Share this post Link to post Share on other sites
Spiff59 54 Posted October 7, 2011 (edited) I saw your other post in which you're using the built-in Ping() function which waits for the command to return. I'm sure this is not the best way to do it, but it does send all the pings (virtually) at once... Global $IP[6] = ["[url="http://www.yahoo.com"]www.yahoo.com","www.time.com","www.autoitscript.com","www.whois.net","www.gotahoe.com[/url]", "[url="http://www.therapistlocator.com"]www.therapistlocator.com[/url]"] Global $pid[6] Beep(800,50) For $x = 0 to 5 ; Run(@ComSpec & " /c Ping " & $IP[$x] & " >> " & $log, "", @SW_HIDE) $pid[$x] = Run(@ComSpec & " /c Ping -n 1 " & $IP[$x], "", @SW_HIDE, 0x8) Next Beep(800,50) Sleep(4000) Beep(800,50) For $x = 0 to 5 MsgBox(0, "Results for : " & $IP[$x], StdoutRead($pid[$x])) Next edit: typo and a little clean-up Edited October 9, 2011 by Spiff59 Share this post Link to post Share on other sites
AdmiralAlkex 125 Posted October 7, 2011 I'm trying to get results as fast and accurate as possibe. Currentley pinging one pc at a time and retrieving info is great but if I could ping 1000 pcs in like 10seconds then we got somegood lovin. I know Autoit Doesn't do MultiTreading but there has got to be a way around this fact.. Always lots a ways to shave a cat.. Try .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Share this post Link to post Share on other sites