Socket.isClosed

Checks whether a socket is closed.

class Socket
bool
isClosed
()

Return Value

Type: bool

true if socket is closed, false otherwise