#include <dwc.h>
void DWC_SetRwinSize(s32 size);size |
TCP receive window size. (In bytes.) |
None.
Sets the receiving window size, RWIN(ReceiveWindow), to be used with TCP/IP communication.
This can only be set in TWL mode.
The configurable range is from 4288 bytes to 65,535 bytes.
The receiving window is set to 4288 bytes when this function is not used. Even if the MTU has been set to 576 bytes by the user, the RWIN uses 4288 bytes, regardless of the value set by this function.
This function must be called in the interval between the DWC_InitInet/DWC_InitInetEx function and the DWC_ConnectInetAsync/DWC_DebugConnectInetAsync function.
DWC_InitInet
DWC_InitInetEx
DWC_ConnectInetAsync
DWC_DebugConnectInetAsync
For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL