Socket.isClosed

Checks whether a socket is closed. Since 2.22

class Socket
int
isClosed
()

Return Value

Type: int

TRUE if socket is closed, FALSE otherwise

Meta