Lines Matching defs:socket
13 import socket
249 This is much like a bound, listening socket.
462 if isinstance(conn, socket.socket):
485 if isinstance(conn, socket.socket):
565 if isinstance(conn, socket.socket):
592 conn.setsockopt(socket.SOL_SOCKET,
598 # Coroutine closing the accept socket if the future is cancelled
611 if conn.type == socket.SOCK_DGRAM:
620 # The socket needs to be locally bound before we call ConnectEx().
635 conn.setsockopt(socket.SOL_SOCKET,
800 s = socket.socket(family)
862 # obj is a socket or pipe handle. It will be closed in