Mistake on this page?
Report an issue in GitHub or email us
Data Fields
mbed_stats_socket_t Struct Reference

Structure to parse socket statistics. More...

#include <SocketStats.h>

Data Fields

Socketreference_id
 Used for identifying socket. More...
 
SocketAddress peer
 Last associated peername of this socket (Destination address) More...
 
socket_state state
 State of this socket. More...
 
nsapi_protocol_t proto
 Specifies a protocol used with socket. More...
 
size_t sent_bytes
 Data sent through this socket. More...
 
size_t recv_bytes
 Data received through this socket. More...
 
us_timestamp_t last_change_tick
 osKernelGetTick() when state last changed More...
 

Detailed Description

Structure to parse socket statistics.

Definition at line 46 of file SocketStats.h.

Field Documentation

us_timestamp_t last_change_tick

osKernelGetTick() when state last changed

Definition at line 53 of file SocketStats.h.

Last associated peername of this socket (Destination address)

Definition at line 48 of file SocketStats.h.

nsapi_protocol_t proto

Specifies a protocol used with socket.

Definition at line 50 of file SocketStats.h.

size_t recv_bytes

Data received through this socket.

Definition at line 52 of file SocketStats.h.

Socket* reference_id

Used for identifying socket.

Definition at line 47 of file SocketStats.h.

size_t sent_bytes

Data sent through this socket.

Definition at line 51 of file SocketStats.h.

socket_state state

State of this socket.

Definition at line 49 of file SocketStats.h.

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.