源代码如下: SOCKET * clisntSocket=(SOCKET*)p;
SOCKET a=*clisntSocket;
recv(a,buf,100,0);
AfxMessageBox(buf);
char pszMsg[]="<html><head><title>无法找到网页/title></head></html>";
send(a,pszMsg,sizeof(pszMsg),0);
AfxMessageBox(buf)能够显示得到了客户IE的请求,但是send函数没有执行啊。
SOCKET a=*clisntSocket;
recv(a,buf,100,0);
AfxMessageBox(buf);
char pszMsg[]="<html><head><title>无法找到网页/title></head></html>";
send(a,pszMsg,sizeof(pszMsg),0);
AfxMessageBox(buf)能够显示得到了客户IE的请求,但是send函数没有执行啊。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货