摘要: 1、什么是套接字: 套接字是网络数据传输用的软件设备; 2、TCP tcp是基于连接的通信方式。 2.1 服务端 2.1.1 调用socket函数生成“套接字”(相当于安装电话) int socket(int domain, int type, int protocol); domain:套接字中的 阅读全文
posted @ 2021-12-27 12:22 XiaoMu-1230 阅读(79) 评论(0) 推荐(0) 编辑