openharmony 鸿蒙 capi-netconnection-netconn-netaddr

2026-08-25 浏览 (1)

NetConn_NetAddr

typedef struct NetConn_NetAddr {...} NetConn_NetAddr

Overview

Defines network addresses.

Since: 11

Related module: NetConnection

Header file: net_connection_type.h

Summary

Member Variables

NameDescription
uint8_t familyNetwork address family.
uint8_t prefixlenPrefix length.
uint8_t portPort number.
char address[NETCONN_MAX_STR_LEN]Network address.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-netconnection-netconn-connectionproperties

openharmony 鸿蒙 errorcode-net-mdns

openharmony 鸿蒙 js-apis-net-ethernet-sys

openharmony 鸿蒙 errorcode-net-http

openharmony 鸿蒙 capi-netstack-http-proxy

openharmony 鸿蒙 js-apis-system-fetch

openharmony 鸿蒙 errorcode-kernel

openharmony 鸿蒙 capi-netstack-netstack-certblob

openharmony 鸿蒙 js-apis-net-mdns

openharmony 鸿蒙 capi-netstack-websocket-closeoption

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