Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iperf example bug: SO_REUSEADDR set to uninitialized values. (IDFGH-3761) #5681

Closed
prwang opened this issue Aug 2, 2020 · 1 comment
Closed

Comments

@prwang
Copy link

prwang commented Aug 2, 2020

setsockopt(listen_socket, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt));

setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt));

and 6 more positions ({BLE, WIFI} x {TCP, UDP} x {Server, Client})

SO_REUSEADDR is a flag-type socket option that should be set with an int of nonzero=true or zero=false.

@github-actions github-actions bot changed the title iperf example bug: SO_REUSEADDR set to uninitialized values. iperf example bug: SO_REUSEADDR set to uninitialized values. (IDFGH-3761) Aug 2, 2020
@Alvin1Zhang
Copy link
Collaborator

Thanks for reporting, sorry for slow turnaround, fix is available at 1abf5c8, feel free to reopen.

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

No branches or pull requests

2 participants