- 链接地址:https://blog.csdn.net/weixin_43937576/article/details/116902136
- 链接标题:Linux网络编程-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:6009
1、套接字套接字:端口号拼接到IP地址构成了套接字。套接字socket= {IP地址:端口号}每一条TCP连接唯一的被通信两端的两个端点(即两个套接字所确定)2、socket函数创建一个套接字,调用socket函数 #include <sys/types.h> #include <sys/socket.h> int socket(int domain, int type, int_linux网络编程
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除
标签:linux网络编程