Skip to content
New issue

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

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

Already on GitHub? # to your account

Support for up to 65k peers #61

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Support for up to 65k peers #61

merged 1 commit into from
Jan 7, 2025

Conversation

emcifuntik
Copy link
Contributor

@emcifuntik emcifuntik commented Jan 6, 2025

Added up to 65k peers support as optional feature(ENET_USE_MORE_PEERS), fixed possible read out of bounds and small sizeof readability improvement. Also adjusted tests to be able to check do 5000 peers work correctly.

And extra peers support is optional to keep compatibility and make it opt-in for library users.

Fixes issue #45

…le read out of bounds and small sizeof readability improvement, tests adjustments
@zpl-zak zpl-zak linked an issue Jan 7, 2025 that may be closed by this pull request
@zpl-zak zpl-zak merged commit 17cc8a0 into zpl-c:master Jan 7, 2025
7 checks passed
@zpl-zak
Copy link
Member

zpl-zak commented Jan 7, 2025

Thanks for the contribution!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increasing ENET_PROTOCOL_MAXIMUM_PEER_ID beyond 4096
2 participants