int ret;
ret = WSAStartup(VersionReqd, &wsadata);
if (ret != 0){
wshout_err ( WSAGetLastError(), "WSAStartup()");
}
WSAGetLastError()报告WinSock错误码
最新推荐文章于 2020-07-10 17:30:31 发布
int ret;
ret = WSAStartup(VersionReqd, &wsadata);
if (ret != 0){
wshout_err ( WSAGetLastError(), "WSAStartup()");
}