Home | History | Annotate | Download | only in multiprocessing

Lines Matching refs:Connection

4 # multiprocessing/connection.py
141 Accept a connection on the bound socket or named pipe of `self`.
143 Returns a `Connection` object.
163 Returns a connection to the address of a `Listener`
185 Returns pair of connection objects at either end of a pipe
191 c1 = _multiprocessing.Connection(os.dup(s1.fileno()))
192 c2 = _multiprocessing.Connection(os.dup(s2.fileno()))
197 c1 = _multiprocessing.Connection(fd1, writable=False)
198 c2 = _multiprocessing.Connection(fd2, readable=False)
207 Returns pair of connection objects at either end of a pipe
276 conn = _multiprocessing.Connection(fd)
288 Return a connection object connected to the socket given by `address`
309 conn = _multiprocessing.Connection(fd)
370 Return a connection object connected to the pipe given by `address`
404 def deliver_challenge(connection, authkey):
408 connection.send_bytes(CHALLENGE + message)
410 response = connection.recv_bytes(256) # reject large message
412 connection.send_bytes(WELCOME)
414 connection.send_bytes(FAILURE)
417 def answer_challenge(connection, authkey):
420 message = connection.recv_bytes(256) # reject large message
424 connection.send_bytes(digest)
425 response = connection.recv_bytes(256) # reject large message