Lines Matching refs:sock
59 sock = socket.create_server(addr, family=family, backlog=backlog)
64 sock.settimeout(timeout)
67 self, sock, server_prog, timeout, max_clients)
73 sock = socket.socket(family, socket.SOCK_STREAM)
79 sock.settimeout(timeout)
82 self, sock, client_prog, timeout)
97 fn = os.path.join(td, 'sock')
120 def __init__(self, sock):
121 self.__sock = sock
174 def __init__(self, test, sock, prog, timeout):
179 self._sock = sock
193 def __init__(self, test, sock, prog, timeout, max_clients):
201 self._sock = sock
264 def _handle_client(self, sock):
265 self._prog(TestSocketWrapper(sock))