Embedded TCP/IP stack  4.7.0
fnet_bench_srv_params_t Struct Reference

Initialization parameters for the fnet_bench_srv_init() function. More...

Data Fields

struct fnet_sockaddr address
 Server socket address.
If server IP address and Scope ID are set to 0s, the server will listen to all current network interfaces.
If server address family is set to 0, it will be assigned to AF_SUPPORTED.
If server port number is set to 0, it will be assigned to the default port number defined by FNET_CFG_BENCH_SRV_PORT. More...
 
fnet_socket_type_t type
 Protocol type. It can be SOCK_STREAM (TCP) or SOCK_DGRAM (UDP). More...
 

Detailed Description

Initialization parameters for the fnet_bench_srv_init() function.

Definition at line 57 of file fnet_bench_srv.h.


The documentation for this struct was generated from the following file:

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