code: def send_data_to_server(self, data, time_out=5):
          
  
          if not data.endswith(self.__connection_end):
              data = "{0}{1}".format(data, foundations.strings.to_string(self.__connection_end).decode("string_escape"))
  
          connection = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
          connection.settimeout(time_out)
          connection.connect((foundations.strings.to_string(self.__address), int(self.__port)))
          connection.send(data)
          self.__engine.notifications_manager.notify(
              "{0} | Socket connection command dispatched!".format(self.__class__.__name__))
          connection.close()
          return True
docs: Sends given data to the Server.
  
          :param data: Data to send.
          :type data: unicode
          :param time_out: Connection timeout in seconds.
          :type time_out: float
          :return: Method success.
          :rtype: bool