Jammer Posted March 1, 2005 Share 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? Link to comment Share on other sites More sharing options...
tamir Posted March 1, 2005 Share 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") Link to comment Share on other sites More sharing options...
Jammer Posted March 1, 2005 Author Share Posted March 1, 2005 cant find the dll... link please... Link to comment Share on other sites More sharing options...
Jammer Posted March 1, 2005 Author Share Posted March 1, 2005 nvm found it... Link to comment Share on other sites More sharing options...
Jammer Posted March 1, 2005 Author Share 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... Link to comment Share on other sites More sharing options...
Helge Posted March 1, 2005 Share 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 ! 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