harmony 鸿蒙NetConn_ConnectionProperties

  • 2025-06-12
  • 浏览 (4)

NetConn_ConnectionProperties

Overview

Defines the network connection information.

Since: 11

Related module: NetConnection

Header file: net_connection_type.h

Summary

Member Variables

Name Use guide
ifaceName [NETCONN_MAX_STR_LEN] Network interface name.
domain [NETCONN_MAX_STR_LEN] Domain name of the network connection.
tcpBufferSizes [NETCONN_MAX_STR_LEN] TCP buffer size.
mtu Maximum transmission unit.
netAddrList [NETCONN_MAX_ADDR_SIZE] Address list.
netAddrListSize Actual size of the address list.
dnsList [NETCONN_MAX_ADDR_SIZE] DNS list.
dnsListSize Actual size of the DNS list.
routeList [NETCONN_MAX_ROUTE_SIZE] Route list.
routeListSize Actual size of the route list.
httpProxy HTTP proxy information.

Member Variable Description

dnsList

NetConn_NetAddr NetConn_ConnectionProperties::dnsList[NETCONN_MAX_ADDR_SIZE]

Description

DNS list.

dnsListSize

int32_t NetConn_ConnectionProperties::dnsListSize

Description

Actual size of the DNS list.

domain

char NetConn_ConnectionProperties::domain[NETCONN_MAX_STR_LEN]

Description

Domain name of the network connection.

httpProxy

NetConn_HttpProxy NetConn_ConnectionProperties::httpProxy

Description

HTTP proxy information.

ifaceName

char NetConn_ConnectionProperties::ifaceName[NETCONN_MAX_STR_LEN]

Description

Network interface name.

mtu

uint16_t NetConn_ConnectionProperties::mtu

Description

Maximum transmission unit.

netAddrList

NetConn_NetAddr NetConn_ConnectionProperties::netAddrList[NETCONN_MAX_ADDR_SIZE]

Description

Address list.

netAddrListSize

int32_t NetConn_ConnectionProperties::netAddrListSize

Description

Actual size of the address list.

routeList

NetConn_Route NetConn_ConnectionProperties::routeList[NETCONN_MAX_ROUTE_SIZE]

Description

Route list.

routeListSize

int32_t NetConn_ConnectionProperties::routeListSize

Description

Actual size of the route list.

tcpBufferSizes

char NetConn_ConnectionProperties::tcpBufferSizes[NETCONN_MAX_STR_LEN]

Description

TCP buffer size.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Network Kit

harmony 鸿蒙NetConn_HttpProxy

harmony 鸿蒙NetConn_NetAddr

harmony 鸿蒙NetConn_NetCapabilities

harmony 鸿蒙NetConn_NetConnCallback

harmony 鸿蒙NetConn_NetHandle

harmony 鸿蒙NetConn_NetHandleList

harmony 鸿蒙NetConn_NetSpecifier

harmony 鸿蒙NetConn_Route

harmony 鸿蒙NetConnection

0  赞