Platform API Reference
Platform portability layer
IotMetricsTcpConnection_t Struct Reference

Represents a TCP connection to a remote IPv4 server. More...

#include <iot_platform_types.h>

Data Fields

IotLink_t link
 List link member.
 
void * pNetworkContext
 Context that may be used by metrics or Defender.
 
size_t addressLength
 The length of the address stored in IotMetricsTcpConnection_t.pRemoteAddress.
 
char pRemoteAddress [IOT_METRICS_IP_ADDRESS_LENGTH]
 NULL-terminated IP address and port in text format. More...
 

Detailed Description

Represents a TCP connection to a remote IPv4 server.

A list of these is provided by platform_metrics_function_gettcpconnections.

Field Documentation

◆ pRemoteAddress

char IotMetricsTcpConnection_t::pRemoteAddress[IOT_METRICS_IP_ADDRESS_LENGTH]

NULL-terminated IP address and port in text format.

IPv4 addresses will be in the format xxx.xxx.xxx.xxx:port. IPv6 addresses will be in the format [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:port.


The documentation for this struct was generated from the following file: