会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ustczgw
博客园
首页
新随笔
联系
订阅
管理
2019年12月8日
一个hello/hi的简单的网络聊天程序
摘要: 一、基本函数 1.socket() 在 Linux 下使用 <sys/socket.h> 头文件中 socket() 函数来创建套接字,原型为: int socket(int af, int type, int protocol); 1) af 为地址族(Address Family),也就是 IP
阅读全文
posted @ 2019-12-08 17:59 ustczgw
阅读(178)
评论(0)
推荐(0)
公告