Socket.isConnected

Check whether the socket is connected. This is only useful for connection-oriented sockets.

Return: %TRUE if socket is connected, %FALSE otherwise.

class Socket
bool
isConnected
()

Meta

Since

2.22