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

UDP documentation: setpeername doesn't really care whether its connected or not. #448

Open
masakk1 opened this issue Feb 25, 2025 · 0 comments

Comments

@masakk1
Copy link
Contributor

masakk1 commented Feb 25, 2025

I made a script to make sure, and indeed, it works even though it's not in the documentation:
https://gist.github.com/masakk1/cdee28f95f5e51fccd6a871512a19717

I just don't know how to communicate it properly in the documentation, thus I'm making an issue.

The fact that setting a connected as unconnected again works isn't a big deal, but changing the peer might be more interesting to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant