1# NetConn_NetAddr 2 3 4## 概述 5 6网络地址。 7 8**起始版本:** 11 9 10**相关模块:**[NetConnection](_net_connection.md) 11 12**所在头文件:** [net_connection_type.h](net__connection__type_8h.md#net_connection_typeh) 13 14## 汇总 15 16 17### 成员变量 18 19| 名称 | 描述 | 20| -------- | -------- | 21| [family](#family) | 网络地址族。 | 22| [prefixlen](#prefixlen) | 前缀长度。 | 23| [port](#port) | 端口号。 | 24| [address](#address) [NETCONN_MAX_STR_LEN] | 地址。 | 25 26 27## 结构体成员变量说明 28 29 30### address 31 32``` 33char NetConn_NetAddr::address[NETCONN_MAX_STR_LEN] 34``` 35 36**描述** 37 38地址。 39 40 41### family 42 43``` 44uint8_t NetConn_NetAddr::family 45``` 46 47**描述** 48 49网络地址族。 50 51 52### port 53 54``` 55uint8_t NetConn_NetAddr::port 56``` 57 58**描述** 59 60端口号。 61 62 63### prefixlen 64 65``` 66uint8_t NetConn_NetAddr::prefixlen 67``` 68 69**描述** 70 71前缀长度。 72