OpenQuizz
Une application de gestion des contenus pédagogiques
SocketChecker Class Reference
Inheritance diagram for SocketChecker:
Collaboration diagram for SocketChecker:

Public Member Functions

def __init__ (self)
 
def select (self, sock, read=False, write=False, timeout=0)
 
def socket_closed (self, sock)
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Member Function Documentation

◆ select()

def select (   self,
  sock,
  read = False,
  write = False,
  timeout = 0 
)
Select for reads or writes with a timeout in seconds (or None).

Returns True if the socket is readable/writable, False on timeout.

◆ socket_closed()

def socket_closed (   self,
  sock 
)
Return True if we know socket has been closed, False otherwise.

The documentation for this class was generated from the following file: