(cls, server, **kwargs)
return cls(client, ownsock=True, **kwargs)
Return a session for the next connection to the given socket.
Return a session for the next connection to the given socket.
Return a session for the next connection to the given socket .
def from_server_socket(cls, server, **kwargs):
        """Return a session for the next connection to the given socket."""
        client, _ = server.accept()
        return cls(client, ownsock=True, **kwargs)
def from_server_socket ( cls , server , * * kwargs ) : client , _ = server . accept ( ) return cls ( client , ownsock = True , * * kwargs )