FD_SET fd = {1, mSocket};
TIMEVAL tv = {2, 0};
iSel = select(0, NULL,&fd, NULL, &tv)
mSocket 所连接的服务程序已经终止了,iSel的返回值还是1,正确的!!??
FD_SET fd = {1, mSocket};
TIMEVAL tv = {2, 0};
iSel = select(0, NULL,&fd, NULL, &tv)
mSocket 所连接的服务程序已经终止了,iSel的返回值还是1,正确的!!??