Skip to content

Conversation

@dpgeorge
Copy link
Member

This PR gets iperf3.server() working in UDP and UDP reverse mode.

Tested on unix MicroPython (needs unix sockets to support sendall()), CPython and OPENMV_N6, in all 8 configurations (client/server x TCP/UDP x reverse).

Signed-off-by: Damien George <damien@micropython.org>
So it can be reused by the server code.

Signed-off-by: Damien George <damien@micropython.org>
The main issues were:
- incorrect magic response value
- should be using sendto instead of send for UDP

Signed-off-by: Damien George <damien@micropython.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant