会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
BK-rewrite
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
Windows Socket
WinSocket01
摘要:启动windows平台下的Socket 1 #define WIN32_LEAN_AND_MEAN 2 #include<windows.h> 3 #include<WinSock2.h> 4 5 //#pragma comment(lib,"ws2_32.lib") 6 7 int main()
阅读全文
posted @
2020-07-28 15:11
BK-rewrite
阅读(102)
评论(0)
推荐(0)
windows.h和WinSock2.h出现重定义API
摘要:有两种常用的解决方法:1、把WinSock2.h写在windows.h之前 2、使用宏定义#define WIN32_LEAN_AND_MEAN
阅读全文
posted @
2020-07-28 14:50
BK-rewrite
阅读(448)
评论(0)
推荐(0)
公告