Mbed OS Reference
|
Structure to parse socket statistics. More...
#include <SocketStats.h>
Data Fields | |
Socket * | reference_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... | |
Structure to parse socket statistics.
Definition at line 46 of file SocketStats.h.
Socket* reference_id |
Used for identifying socket.
Definition at line 47 of file SocketStats.h.
SocketAddress peer |
Last associated peername of this socket (Destination address)
Definition at line 48 of file SocketStats.h.
socket_state state |
State of this socket.
Definition at line 49 of file SocketStats.h.
nsapi_protocol_t proto |
Specifies a protocol used with socket.
Definition at line 50 of file SocketStats.h.
size_t sent_bytes |
Data sent through this socket.
Definition at line 51 of file SocketStats.h.
size_t recv_bytes |
Data received through this socket.
Definition at line 52 of file SocketStats.h.
us_timestamp_t last_change_tick |
osKernelGetTick() when state last changed
Definition at line 53 of file SocketStats.h.