'Send an error message if the client does not follow the protocol.'

def send_error(self, host, port, error_msg):

    response_msg = struct.pack((('!ii' + str(len(error_msg))) + 's'), TRACKER_ACTION_ERROR, self.transaction_id, error_msg)
    self.transport.write(response_msg, (host, port))
