摘要: 基于TCP-服务器 1,创建一个socket套接字 int socket(int domain,int type,int protocol) domain:IP地址族,AF_INET(IPv4)、AF_INET6(IPv6)、AF_LOCAL/AF_UNIX(本地) type:套接字,流式套接字(S 阅读全文
posted @ 2019-01-30 21:49 专注it 阅读(971) 评论(0) 推荐(0) 编辑