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

feat: remove argument from UDP server #178

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

snorkman88
Copy link
Contributor

@snorkman88 snorkman88 commented Dec 13, 2022

When testing with Python3.11 reuse_address = True is passed as an argument to create_datagram_endpoint. This causes the 3.11 interpreter to raise an exception since that keyword argument is no longer supported by the most recent API version because of security concerns.
READ MORE HERE

Additionally in _create_socket line 63:
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 0)
specifies not to reuse the address therefore there is no need to pass that argument at all.

@snorkman88 snorkman88 merged commit 4d78789 into master Dec 14, 2022
@snorkman88 snorkman88 deleted the remove_unnecessary_argument_in_secc_udp_server branch December 14, 2022 10:18
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.

2 participants