int optval=1; setsockopt(lfd,SOL_SOCKET,SO_REUSEADDR,&optval,sizeof(optval));//复用端口
posted on 2023-02-25 15:44 米歪歪 阅读(19) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 米歪歪 Powered by .NET 8.0 on Kubernetes