AWS IoT Device SDK C: Platform
Platform portability layer
Return to main page ↑
IotMetrics_GetTcpConnections

Retrieve a list of active TCP connections from the system.

void IotMetrics_GetTcpConnections( void * pContext,
void ( * metricsCallback )( void *, const IotListDouble_t * ) );

The provided connections are reported by Device Defender.

Parameters
[in]pContextContext passed as the first parameter of metricsCallback.
[in]metricsCallbackCalled by this function to provide the list of TCP connections. The list given by this function is should not be used after the callback returns.