socket三种地址结构
摘要:
/* <sys/socket.h> */ struct sockaddr { uint8_t sa_len; sa_family_t sa_family; char sa_data[14]; }; /* <netinet/in.h> */ struct sockaddr_in { uint8_t s 阅读全文
posted @ 2021-04-03 23:19 toughcactus 阅读(106) 评论(0) 推荐(0) 编辑