Embedded TCP/IP stack  4.7.0

◆ fnet_bench_srv_callback_session_begin_t

typedef void(* fnet_bench_srv_callback_session_begin_t) (fnet_bench_srv_desc_t desc, struct fnet_sockaddr address, void *cookie)

Benchmark server event handler callback function prototype, that is called when the benchmark server has started a new benchmarking session.

Parameters
descBenchmark server descriptor.
addressAddress of the remote client at the other end of the connection.
cookieUser-application specific parameter. It's set during the fnet_bench_srv_set_callback_session_begin() call.
See also
fnet_bench_srv_set_callback_session_begin()

Definition at line 88 of file fnet_bench_srv.h.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net