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

Refactor/simplify network host #149

Merged
merged 2 commits into from
Feb 12, 2020
Merged

Conversation

Hopson97
Copy link
Owner

For some reason I had a queue of packets in the network host class rather than sending them straight out.

I now know that enet basically stores a packet queue internally, and doesn't send them until you call the enet_host_service function.

This might solve #64

Also after updating this, #148 is now redundant, as the chunk sorting code actually works now (Before it didn't, as the chunks were send at a painfully slow speed) :)

@Hopson97 Hopson97 merged commit 255b839 into master Feb 12, 2020
@Hopson97 Hopson97 deleted the refactor/simplify_network_host branch February 14, 2020 08:20
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