Lines Matching full:server
3 * lwIP iPerf server implementation
7 * @defgroup iperf Iperf server
10 * This is a simple performance measuring client/server to check your bandwith using
11 * iPerf2 on a PC as server/client.
12 * It is currently a minimal implementation providing a TCP client/server only.
107 /* 1=server, 0=client */
108 u8_t server; member
123 /* 1=start server when client is closed */
285 LWIP_ASSERT("conn invalid", (conn != NULL) && conn->base.tcp && (conn->base.server == 0)); in lwiperf_tcp_client_send_more()
583 if (!conn->base.server) { in lwiperf_tcp_poll()
600 LWIP_ASSERT("invalid session", s->base.server); in lwiperf_tcp_accept()
619 conn->base.server = 1; in lwiperf_tcp_accept()
648 * Start a TCP iperf server on the default TCP port (5001) and listen for
651 * @returns a connection handle that can be used to abort the server
663 * Start a TCP iperf server on a specific IP address and port and listen for
666 * @returns a connection handle that can be used to abort the server
706 s->base.server = 1; in lwiperf_start_tcp_server_impl()
792 /* start corresponding server now */ in lwiperf_start_tcp_client()
793 lwiperf_state_tcp_t *server = NULL; in lwiperf_start_tcp_client() local
795 report_fn, report_arg, (lwiperf_state_base_t *)state, &server); in lwiperf_start_tcp_client()
797 /* starting server failed, abort client */ in lwiperf_start_tcp_client()
801 /* make this server accept one connection only */ in lwiperf_start_tcp_client()
802 server->specific_remote = 1; in lwiperf_start_tcp_client()
803 server->remote_addr = state->conn_pcb->remote_ip; in lwiperf_start_tcp_client()
807 server->client_tradeoff_mode = 1; in lwiperf_start_tcp_client()