摘要: 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 */ ... 阅读全文
posted @ 2013-04-11 09:24 jeccey 阅读(419) 评论(0) 推荐(0) 编辑