harmony 鸿蒙NetConn_NetAddr

  • 2025-06-16
  • 浏览 (6)

NetConn_NetAddr

概述

网络地址。

起始版本: 11

相关模块:NetConnection

所在头文件: net_connection_type.h

汇总

成员变量

名称 描述
family 网络地址族。
prefixlen 前缀长度。
port 端口号。
address [NETCONN_MAX_STR_LEN] 地址。

结构体成员变量说明

address

char NetConn_NetAddr::address[NETCONN_MAX_STR_LEN]

描述

地址。

family

uint8_t NetConn_NetAddr::family

描述

网络地址族。

port

uint8_t NetConn_NetAddr::port

描述

端口号。

prefixlen

uint8_t NetConn_NetAddr::prefixlen

描述

前缀长度。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Network Kit(网络服务)

harmony 鸿蒙NetConn_ConnectionProperties

harmony 鸿蒙NetConn_HttpProxy

harmony 鸿蒙NetConn_NetCapabilities

harmony 鸿蒙NetConn_NetConnCallback

harmony 鸿蒙NetConn_NetHandle

harmony 鸿蒙NetConn_NetHandleList

harmony 鸿蒙NetConn_NetSpecifier

harmony 鸿蒙NetConn_Route

harmony 鸿蒙NetConnection

0  赞