非阻塞recvfrom的设置

int iMode = 1; //0:阻塞 ioctlsocket(socketc,FIONBIO, (u_long FAR*) &iMode);//非阻塞设置 rs=recvfrom(socketc

腾讯文库非阻塞recvfrom的设置