def tcp_accept(self):
        """Waiting for a TCP connection."""
        self.conn, self.addr = self.tcp_socket.accept()
        print("[MESSAGE] The connection is established at: ", self.addr)
        self.tcp_send("> ")
def tcp_accept ( self ) : self . conn , self . addr = self . tcp_socket . accept ( ) print ( "[MESSAGE] The connection is established at: " , self . addr ) self . tcp_send ( "> " )
Waiting for a TCP connection.