(self)
Override server_bind to store the server name.
Override server_bind to store the server name.
Override server_bind to store the server name .
def server_bind(self):
        """Override server_bind to store the server name."""
        SocketServer.TCPServer.server_bind(self)
        host, port = self.socket.getsockname()[:2]
        self.server_name = socket.getfqdn(host)
        self.server_port = port
def server_bind ( self ) : SocketServer . TCPServer . server_bind ( self ) host , port = self . socket . getsockname ( ) [ : 2 ] self . server_name = socket . getfqdn ( host ) self . server_port = port