Embedded TCP/IP stack
4.7.0
|
void fnet_bench_srv_set_callback_session_end | ( | fnet_bench_srv_desc_t | desc, |
fnet_bench_srv_callback_session_end_t | callback_session_end, | ||
void * | cookie | ||
) |
Registers the "session end" event handler callback.
desc | Benchmark server descriptor. |
callback_session_end | Pointer to the callback function defined by fnet_bench_srv_callback_session_end_t. |
cookie | Optional application-specific parameter. It's passed to the callback_session_end function as the input parameter. |
This function registers the callback_session_end
callback function for the "session end" event. This event occurs on a benchmark session end. To stop the event handling, set the callback_session_end
parameter to zero value.