(self, sock)
return await fut
Accept a connection.

        The socket must be bound to an address and listening for connections.
        The return value is a pair (conn, address) where conn is a new socket
        object usable to send and receive data on the connection, and address
        is the address bound to the socket on the other end of the connection.
Accept a connection.
Accept a connection .
async def sock_accept(self, sock):
        """Accept a connection.

        The socket must be bound to an address and listening for connections.
        The return value is a pair (conn, address) where conn is a new socket
        object usable to send and receive data on the connection, and address
        is the address bound to the socket on the other end of the connection.
        """
        _check_ssl_socket(sock)
        if self._debug and sock.gettimeout() != 0:
            raise ValueError("the socket must be non-blocking")
        fut = self.create_future()
        self._sock_accept(fut, sock)
        return await fut
async def sock_accept ( self , sock ) : _check_ssl_socket ( sock ) if self . _debug and sock . gettimeout ( ) != 0 : raise ValueError ( "the socket must be non-blocking" ) fut = self . create_future ( ) self . _sock_accept ( fut , sock ) return await fut