Searched refs:sock (Results 1 – 1 of 1) sorted by relevance
70 def send_fds(sock, remote_read, remote_write, remote_event): argument74 sock.sendmsg([NEED_HANDSHAKE_MESSAGE], # We want the transport to handle the handshake.90 with socket.socket() as sock:91 sock.bind((host, port))92 sock.listen()94 sources = [local_sock, finish_event, sock]101 print("listening on " + str(sock))114 elif sock in rf:115 (conn, addr) = sock.accept()