windows vc++ vs winsock2.h socket通信
摘要:
sendto int sendto( SOCKET s, const char *buf, int len, int flags, const sockaddr *to, int tolen ); 这个使用时需要这样来用。特别是最后的tolen,必须得是一个int参数,不能用sizeof。 int 阅读全文
posted @ 2020-08-01 22:20 yanhc 阅读(322) 评论(0) 推荐(0) 编辑