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