1libssh2_channel_receive_window_adjustl(i3bl)sisbhs2sh2_channel_receive_window_adjust(3)
2
3
4

NAME

6       libssh2_channel_receive_window_adjust - adjust the channel window
7

SYNOPSIS

9       #include <libssh2.h>
10
11       unsigned long
12       libssh2_channel_receive_window_adjust(LIBSSH2_CHANNEL * channel,
13                                             unsigned long adjustment,
14                                             unsigned char force);
15

DESCRIPTION

17       This  function  is  deprecated in 1.1. Use libssh2_channel_receive_win‐
18       dow_adjust2(3)!
19
20       Adjust the receive window for a channel by  adjustment  bytes.  If  the
21       amount  to be adjusted is less than LIBSSH2_CHANNEL_MINADJUST and force
22       is 0 the adjustment amount will be queued for a later packet.
23

RETURN VALUE

25       Returns the new size of the receive window  (as  understood  by  remote
26       end).  Note that the window value sent over the wire is strictly 32bit,
27       but this API is made to return a 'long' which may not be 32 bit on  all
28       platforms.
29

ERRORS

31       In 1.0 and earlier, this function returns LIBSSH2_ERROR_EAGAIN for non-
32       blocking channels where it would otherwise block. However,  that  is  a
33       negative  number  and  this function only returns an unsigned value and
34       this then leads to a very strange value being returned.
35

SEE ALSO

37       libssh2_channel_window_read_ex(3)
38
39
40
41libssh2 0.15                      15 Malrib2s0s0h92_channel_receive_window_adjust(3)
Impressum