Mistake on this page?
Report an issue in GitHub or email us
Static Public Member Functions
SocketStats Class Reference

SocketStats class. More...

#include <SocketStats.h>

Static Public Member Functions

static size_t mbed_stats_socket_get_each (mbed_stats_socket_t *stats, size_t count)
 Fill the passed array of structures with the socket statistics for each created socket. More...
 

Detailed Description

SocketStats class.

Class to get the network socket statistics

Definition at line 59 of file SocketStats.h.

Member Function Documentation

static size_t mbed_stats_socket_get_each ( mbed_stats_socket_t stats,
size_t  count 
)
static

Fill the passed array of structures with the socket statistics for each created socket.

Parameters
statsA pointer to an array of mbed_stats_socket_t structures to fill
countThe number of mbed_stats_socket_t structures in the provided array
Returns
The number of mbed_stats_socket_t structures that have been filled. If the number of sockets on the system is less than or equal to count, it will equal the number of sockets created (active or closed). If the number of sockets on the system is greater than count, it will equal count.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.