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.
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 642 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 593 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 578 of file lwip_lwiperf.c.
Generated on Tue Jul 12 2022 12:22:34 by
