Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: blinky_max32630fthr
Iperf server
[Applications]
This is a simple performance measuring server to check your bandwith using iPerf2 on a PC as client. More...
Functions | |
| void * | lwiperf_start_tcp_server_default (lwiperf_report_fn report_fn, void *report_arg) |
| Start a TCP iperf server on the default TCP port (5001) and listen for incoming connections from iperf clients. | |
| void * | lwiperf_start_tcp_server (const ip_addr_t *local_addr, u16_t local_port, lwiperf_report_fn report_fn, void *report_arg) |
| Start a TCP iperf server on a specific IP address and port and listen for incoming connections from iperf clients. | |
| void | lwiperf_abort (void *lwiperf_session) |
| Abort an iperf session (handle returned by lwiperf_start_tcp_server*()) | |
Detailed Description
This is a simple performance measuring server to check your bandwith using iPerf2 on a PC as client.
It is currently a minimal implementation providing an IPv4 TCP server only.
Function Documentation
| void lwiperf_abort | ( | void * | lwiperf_session ) |
Abort an iperf session (handle returned by lwiperf_start_tcp_server*())
Definition at line 643 of file lwip_lwiperf.c.
| void* lwiperf_start_tcp_server | ( | const ip_addr_t * | local_addr, |
| u16_t | local_port, | ||
| lwiperf_report_fn | report_fn, | ||
| void * | report_arg | ||
| ) |
Start a TCP iperf server on a specific IP address and port and listen for incoming connections from iperf clients.
- Returns:
- a connection handle that can be used to abort the server by calling lwiperf_abort()
Definition at line 594 of file lwip_lwiperf.c.
| void* lwiperf_start_tcp_server_default | ( | lwiperf_report_fn | report_fn, |
| void * | report_arg | ||
| ) |
Start a TCP iperf server on the default TCP port (5001) and listen for incoming connections from iperf clients.
- Returns:
- a connection handle that can be used to abort the server by calling lwiperf_abort()
Definition at line 579 of file lwip_lwiperf.c.
Generated on Tue Jul 12 2022 14:21:30 by
1.7.2