net: zperf: Make UDP/TCP servers restartable
Make the TCP/UDP server functionality restartable. Provide a public API to stop the TCP/UDP server. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
cd4f7cbc61
commit
87ca1c3329
6 changed files with 138 additions and 72 deletions
|
@ -114,6 +114,8 @@ static int zperf_init(const struct device *unused)
|
|||
|
||||
zperf_udp_uploader_init();
|
||||
zperf_tcp_uploader_init();
|
||||
zperf_udp_receiver_init();
|
||||
zperf_tcp_receiver_init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue