void vortex_channel_set_window_size ( VortexChannel channel,
int  desired_size 
)

Allows the caller to change the channel window size.

A larger window size than the default (4096) allows the remote peer to send more data over this channel at once. This increases the bandwidth that can be received, especially over high-latency sockets, at the expense of increasing the latency for other channels.

Parameters:
channel the channel to operate on.
desired_size the desired window size; it is recomended to be at least 4096.