tamir Posted February 4, 2005 Posted February 4, 2005 how can i stop the script until i get the message "ok" from the server i connected to? i tried While 1 $get = DllCall("au3xtra.dll","int","TCPRecv", "int", $socket, "str", "", "int", 512) If $get[2] = "ok" Then ExitLoop WEnd but it's not working
Blue_Drache Posted February 4, 2005 Posted February 4, 2005 how can i stop the script until i get the message "ok" from the server i connected to?i triedWhile 1 $get = DllCall("au3xtra.dll","int","TCPRecv", "int", $socket, "str", "", "int", 512) If $get[2] = "ok" Then ExitLoop WEndbut it's not working<{POST_SNAPBACK}>Would putting a sleep inbetween the $get and the If statements help? Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
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