harmony 鸿蒙NetConn_NetAddr

2025-06-12 浏览 (1)

NetConn_NetAddr

Overview

Defines network addresses.

Since: 11

Related module: NetConnection

Header file: net_connection_type.h

Summary

Member Variables

NameUse guide
familyNetwork address family.
prefixlenPrefix length.
portPort number.
address [NETCONN_MAX_STR_LEN]Network address.

Member Variable Description

address

char NetConn_NetAddr::address[NETCONN_MAX_STR_LEN]

Description

Network address.

family

uint8_t NetConn_NetAddr::family

Description

Network address family.

port

uint8_t NetConn_NetAddr::port

Description

Port number.

prefixlen

uint8_t NetConn_NetAddr::prefixlen

Description

Prefix length.

你可能感兴趣的鸿蒙文章

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

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/Ae4Lrz