Other Parts Discussed in Thread: CC3220SF
Tool/software: Code Composer Studio
Hello Team,
I am not able to change the TCP socket alive timeout value using the below command:
- SL_SO_KEEPALIVETIME (Set Keepalive timeout):
\code
_i16 Status;
_u32 TimeOut = 120;
sl_SetSockOpt(Sd, SL_SOL_SOCKET, SL_SO_KEEPALIVETIME,( _u8*) &TimeOut, sizeof(TimeOut));
\endcode
<br>
Even by setting any other timeout value . TCP socket closes at default timeout of 5mins. Please help.