Ghost21 Posted October 7, 2011 Share 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.. Link to comment Share on other sites More sharing options...
UEZ Posted October 7, 2011 Share 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Ghost21 Posted October 7, 2011 Author Share Posted October 7, 2011 I am the Network Admin Link to comment Share on other sites More sharing options...
UEZ Posted October 7, 2011 Share 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Spiff59 Posted October 7, 2011 Share 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 Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 7, 2011 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now