Lines Matching defs:socket
37 import socket
91 self.socket.connect(self.server_address)
94 "Override TCPServer method, return already connected socket"
95 return self.socket, self.server_address
101 normally or socket raised EOF. Other exceptions not handled in
278 """Listen on socket until I/O not ready or EOF
315 # wait for notification from socket handling thread
345 raise OSError("socket no longer exists")
398 """Handle messages received on the socket.
404 immediate execution, during which time the socket is not serviced.
433 if message is None: # socket not ready
531 def __init__(self, address, family=socket.AF_INET, type=socket.SOCK_STREAM):
532 self.listening_sock = socket.socket(family, type)