摘要:
Socket Address Structure——头文件<netinet/in.h>IPv4 Socket Address StructureView Code /* IPv4 Socket Address Structure */typedef uint32_t in_addr_t;typedef uint16_t in_port_t;typedef unsigned short sa_family_t;struct in_addr{ in_addr_t s_addr; /* 32-bit IPv4 address */ ... 阅读全文