文章目录 ipv4地址结构 ipv4地址结构 struct in_addr(netinet/in.h) struct sockaddr_in(netinet/in.h) struct sockaddr(sys/socket.h 通用套接字地址结构)