Xojo.Net.TCPSocket.IsConnected

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aXojo.Net.TCPSocket.IsConnected

Supported for all project types and targets.

Indicates whether the socket is currently connected.