tcpsockets/client.py
def connect(self) -> None:
        """
        Method to start connection with server.
        Returns:
            None
        """
        logger.log(f"Connecting to {self.ip} at {self.port}")
        self.socket.connect((self.ip, self.port))
        logger.log(f"Connection Successful")
        self.connection_thread = threading.Thread(target=self.main_connection)
        if self.background:
            self.connection_thread.start()
        else:
            self.start_connection()

        Method to start connection with server.
        Returns:
            None
        
Method to start connection with server.
Method to start connection with server .
def connect(self) -> None:
        logger.log(f"Connecting to {self.ip} at {self.port}")
        self.socket.connect((self.ip, self.port))
        logger.log(f"Connection Successful")
        self.connection_thread = threading.Thread(target=self.main_connection)
        if self.background:
            self.connection_thread.start()
        else:
            self.start_connection()
def connect ( self ) -> None : logger . log ( f"Connecting to {self.ip} at {self.port}" ) self . socket . connect ( ( self . ip , self . port ) ) logger . log ( f"Connection Successful" ) self . connection_thread = threading . Thread ( target = self . main_connection ) if self . background : self . connection_thread . start ( ) else : self . start_connection ( )
Method to start connection with server.
Method to start connection with server .
"""
        Method to start connection with server.
        Returns:
            None
        """
None
self