#include <dwc.h>BOOL DWC_SetConnectionKeepAliveTime(u32 time);| time | The duration of the receive timeout (ms) to set. 0 cannot be specified. |
| TRUE | The timeout was set successfully. |
| FALSE | Setting failed because the FriendsMatch library is not in operation, or else time was set to 0. |
Sets the timeout, which is the standard for determining when to disconnect from a connected peer after a fixed period of time elapses with no reliable or unreliable transfer from that peer.
If this function is not called, 20,000 ms is used as the default value.
Because the DWC library does not automatically, internally perform the communication required to maintain connections, applications must perform some kind of reliable/unreliable transfer with all connected hosts within an interval shorter than the timeout set by this function.
CONFIDENTIAL