csocket receive 10057

CLinkClient *pLinkClient = new CLinkClient(this);
//创建连接,不成功则返回
if(!pLinkClient->Create())
{
    AfxMessageBox(_T("连接创建失败"));
    delete pLinkClient;
    pLinkClient = NULL;
    return;
}
//创建数据流
char buffer[4096]; 
Send_Client sendClient1;
memset(&sendClient1, 0, sizeof(Send_Client));
//接收数据
if(pLinkClient->Receive(buffer, sizeof(buffer)) == SOCKET_ERROR)
{
    DWORD i = GetLastError();
    return;
}

create()函数返回1
为什么receive()函数返回-1
同时getlasterror()返回10057错误

http://q.cnblogs.com/q/6820/

http://bbs.csdn.net/topics/70487091