摘要: int iMode = 1; //0:阻塞 ioctlsocket(socketc,FIONBIO, (u_long FAR*) &iMode);//非阻塞设置 rs=recvfrom(socketc,rbuf,sizeof(rbuf),0,(SOCKADDR*)&addr,&len); int ioctlsocket ( SOCKET s, long c... 阅读全文
posted @ 2008-01-09 11:56 ahuo 阅读(9152) 评论(3) 推荐(1) 编辑