Embedded TCP/IP stack
4.7.0
|
fnet_bench_srv_desc_t fnet_bench_srv_init | ( | fnet_bench_srv_params_t * | params | ) |
Initializes the Benchmark server service.
params | Initialization parameters defined by fnet_bench_srv_params_t. |
0
if an error occurs.This function initializes the Benchmark server service. It allocates all resources needed and registers the Benchmark server in the service polling list.
After the initialization, the user application should call the main polling function fnet_service_poll() periodically to run the Benchmark server service in the background.