gpt4 book ai didi

c++ - 10038 套接字错误

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:54:19 24 4
gpt4 key购买 nike

10038 server error 是否有任何解决方案。我已经用 c++ 编写了代码;服务器运行良好 10 到 12 小时,但突然出现 10038 套接字错误

最佳答案

没有看到您的代码:您描述的症状听起来像是您正在泄漏内存/资源,即您忘记释放/删除您正在分配的对象。也可能是时间问题。我建议您发布您的(缩减)代码。

10038 (WSAENOTSOCK): Socket operation on nonsocket. An operation was attempted on something that is not a socket. Either the socket handle parameter did not reference a valid socket, or for select, a member of an fd_set was not valid.

关于c++ - 10038 套接字错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3948164/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com