- 博客(1)
- 收藏
- 关注
原创 Recvfrom() 返回 WSAECONNRESET 代替阻塞或超时
使用winsock 的 recv from 函数时,可能收到 ICMP port unreachable 的错误,可以通过 WSAIoctl来设置,win2000 要使用最新的 sp来获得支持 DWORDdwBytesReturned = 0;BOOLbNewBehavior = FALSE;DWORDstatus;// disable new behavior using// IO
2006-12-06 17:50:00 2889
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人