lwip学习杂记之int lwip_setsockopt (int s, int level, int optname, const void *optval, socklen_t optlen);
实际代码使用例子optval=1;
lwip_setsockopt(socket_list[i].socket,SOL_SOCKET,SO_KEEPALIVE,&optval,sizeof(optval));
//调用closesocket后强制关闭
optval_bool=FALSE;
lwip_setsockopt(socket_list[i].socket,SOL_SOCKET,SO_DON