摘要: 有时候连接不上服务端 额外学到知识: 使用keepalive功能代码 点击查看代码 static rt_err_t socket_keepalive_cfg(int socket_fd) { int keepalive = 1; //Enable keepalive. int keepidle = 阅读全文
posted @ 2022-12-23 14:29 我爱茜茜公主 阅读(18) 评论(0) 推荐(0)