Socket configuration#
Functions#
int32_t
rsi_tcp_window_update(uint32_t sockID, uint32_t new_size_bytes)
Update TCP window size from host. This is a blocking API.
Function Documentation#
rsi_tcp_window_update#
int32_t rsi_tcp_window_update (uint32_t sockID, uint32_t new_size_bytes)
Update TCP window size from host. This is a blocking API.
Parameters
[in] | sockID | - Socket descriptor ID |
[in] | new_size_bytes | - Window size to update in bytes |
Returns
Positive Value - Window size updated
Negative Value - Failure
Note
Precondition - rsi_connect() API needs to be called before this API.
Definition at line
2548
of file network/socket/rsi_socket.c
References SL_PRINTF , global_cb_s::rsi_driver_cb , global_cb_s::rsi_socket_pool , rsi_wlan_socket_set_status , and rsi_set_os_errno