1libssh2_channel_receive_window_adljiubssts(h32l)imbasnsuha2l_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  libssh2_channel_receive_window_adjust(LIBSSH2_CHANNEL *
12       channel,
13                                             unsigned long adjustment,
14                                             unsigned char force);
15
16

DESCRIPTION

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

RETURN VALUE

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

ERRORS

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

SEE ALSO

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