DWORD dwBufferLen[10];
DWORD;
DWORD dwBytesReturn = 0;
if(WSAIoctl(skfd,SIO_RECVALL,&dwBufferInLen,sizeof(dwBufferInLen),dwBufferLen,sizeof(dwBufferLen)
,&dwBytesReturn,NULL,NULL) != 0)
为什么一定要这样写??我查了下,SIO_RECVALL只有输入,是unsigned int 类型,没有输出。为什么 dwBufferInLen 必须等于1???不懂啊!!!
求大神指点!!!!!