Jump to content

Status checker.


Recommended Posts

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

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 beginning

of your script.. Good luck !

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...