MCPcopy Create free account
hub / github.com/EIPStackGroup/OpENer / SocketTimerSetLastUpdate

Function SocketTimerSetLastUpdate

source/src/ports/socket_timer.c:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17void SocketTimerSetLastUpdate(SocketTimer *const socket_timer,
18 const MilliSeconds actual_time) {
19 if (NULL != socket_timer) {
20 socket_timer->last_update = actual_time;
21 OPENER_TRACE_INFO("Sets time stamp for socket %d\n", socket_timer->socket);
22 }
23}
24
25MilliSeconds SocketTimerGetLastUpdate(SocketTimer *const socket_timer) {
26 return socket_timer->last_update;

Callers 3

HandleDataOnTcpSocketFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68