SocketConnection.isConnected

bool isConnected()

Checks if connection is connected. This is equivalent to calling [gio.socket.Socket.isConnected] on connection's underlying #GSocket.

Returns

whether connection is connected