(self)
Called by constructor to bind the socket.

        May be overridden.
Called by constructor to bind the socket.
Called by constructor to bind the socket .
def server_bind(self):
        """Called by constructor to bind the socket.

        May be overridden.

        """
        if self.allow_reuse_address:
            self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
        self.socket.bind(self.server_address)
        self.server_address = self.socket.getsockname()
def server_bind ( self ) : if self . allow_reuse_address : self . socket . setsockopt ( socket . SOL_SOCKET , socket . SO_REUSEADDR , 1 ) self . socket . bind ( self . server_address ) self . server_address = self . socket . getsockname ( )