Jammer 0 Posted March 1, 2005 How could I make a script witch checks is there a 4354 port open of some IP? What stuff sould I use? Share this post Link to post Share on other sites
tamir 0 Posted March 1, 2005 get Larry's au3xtra.dll then use this code: Dim $IP, $Port DLLCall(@ScriptDir & "\au3xtra.dll","int","TCPStartUp") $ConTest = DLLCall(@ScriptDir & "\au3xtra.dll","int","TCPConnect", "str", $IP, "int", $Port) If $ConTest[0] > 0 Then MsgBox(0, "", "The port is open") DLLCall(@ScriptDir & "\au3xtra.dll", "int", "TCPCloseSocket", "int", $ConTest[0]) Else MsgBox(0, "", "Port isn't open") EndIf DLLCall(@ScriptDir & "\au3xtra.dll", "int", "TCPShutDown") Share this post Link to post Share on other sites
Jammer 0 Posted March 1, 2005 cant find the dll... link please... Share this post Link to post Share on other sites
Jammer 0 Posted March 1, 2005 hmm sometimes it lags very much or just freezes.... u have to end the task... anyway to bypass that? make a timeout or something... Share this post Link to post Share on other sites
Helge 3 Posted March 1, 2005 hmm sometimes it lags very much or just freezes.... u have to end the task...anyway to bypass that? make a timeout or something...<{POST_SNAPBACK}>If you're using it in a loop, you should test using a DLLOpen in the beginningof your script.. Good luck ! Share this post Link to post Share on other sites