openharmony 鸿蒙 capi-netconnection-netconn-connectionproperties

2026-08-25 浏览 (1)

NetConn_ConnectionProperties

typedef struct NetConn_ConnectionProperties {...} NetConn_ConnectionProperties

Overview

Defines the network connection properties.

Since: 11

Related module: NetConnection

Header file: net_connection_type.h

Summary

Member Variables

NameDescription
char ifaceName[NETCONN_MAX_STR_LEN]Network interface name.
char domain[NETCONN_MAX_STR_LEN]Domain name of the network connection.
char tcpBufferSizes[NETCONN_MAX_STR_LEN]TCP buffer size.
uint16_t mtuMaximum transmission unit.
NetConn_NetAddr netAddrList[NETCONN_MAX_ADDR_SIZE]Address list.
int32_t netAddrListSizeActual size of the address list.
NetConn_NetAddr dnsList[NETCONN_MAX_ADDR_SIZE]DNS list.
int32_t dnsListSizeActual size of the DNS list.
NetConn_Route routeList[NETCONN_MAX_ROUTE_SIZE]Route list.
int32_t routeListSizeActual size of the route list.
NetConn_HttpProxy httpProxyHTTP proxy information.

你可能感兴趣的鸿蒙文章

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

openharmony 鸿蒙 capi-net-ssl-c-type-h

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