set_encodings


Description:

public bool set_encodings (int32[] encoding)

Inform the server of the list of encodings that it is allowed to send.

This should be done before requesting any framebuffer updates

Parameters:

this

the connection object

encoding

the list of permitted encodings

n_encoding

number of entries in encoding

Returns:

TRUE if the connection is ok, FALSE if it has an error