别急 急是不管用的!我把程序改了一下 用receivfrom来接收 不过还有错 我又不会改了 错误提示是这样的:F:\duchunhui\myproject vc\发送和接收\myjieshou\myjieshouDoc.cpp(38) : error C2664: 'int __thiscall CAsyncSocket::ReceiveFrom(void *,int,class CString &,unsigned int &,int)' : cannot convert parameter 3 from 'struct sockaddr *' to 'class CString &'
A reference that is not to 'const' cannot be bound to a non-lvalue