int vortex_channel_get_window_size ( VortexChannel channel)

Returns actual channel window size.

Maximum window size accepted by remote peer. This is the number of bytes that the remote peer is willing to accept until a new SEQ frame is set.

Parameters
channelthe channel to operate on.
Returns
the window size or -1 if fails