SOCKET s; int ttl=0;
int rc = getsockopt(s, IPPROTO_IP, IP_TTL, (char*)&ttl, sizeof(ttl));
怎么会出现在这样的错误呀.........
error C2664: 'getsockopt' : cannot convert parameter 5 from 'unsigned int' to 'int *'
int rc = getsockopt(s, IPPROTO_IP, IP_TTL, (char*)&ttl, sizeof(ttl));
怎么会出现在这样的错误呀.........
error C2664: 'getsockopt' : cannot convert parameter 5 from 'unsigned int' to 'int *'
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货