setsockopt(m_listenfd, SOL_SOCKET, SO_LINGER, &tmp, sizeof(tmp));
链接
SO_LINGER 延时关闭 优雅关闭
最新推荐文章于 2023-10-06 10:52:22 发布
setsockopt(m_listenfd, SOL_SOCKET, SO_LINGER, &tmp, sizeof(tmp));
链接