Jump to content

Search the Community

Showing results for tags 'tcpconnect offline error'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi there, I've made a little tool to easily "ping" a TCP port called PingPort but I have a bug or I'm doing something wrong. You can download it (sources are included) using this link. An easy way to understand my issue is to run pingport google.com:80 If you are connected then disconnect the cable or WiFi while pinging it will continue pinging successfully !?! I don't understand why TCPConnect does not fail. Am I missing something here ? Here is a piece of code : TCPCloseSocket($socket) $timer = TimerInit() $socket = TCPConnect($server_ip, $protocol_port) If $socket = -1 OR @error Then ConsoleWrite($server_name & " is DOWN on port " & $protocol_port & GetErrorDescription(@error) & @CRLF) Else ConsoleWrite($server_name & " is UP on port " & $protocol_port & " - latency : " & HumanTime(TimerDiff($timer)) & @CRLF) EndIf Sleep(1000) WEnd TCPCloseSocket($socket) Thank you for your help and time.
×
×
  • Create New...