Skip to content

refactor socket/netcode_conn add more of server implementation#18

Merged
gafferongames merged 4 commits intomas-bandwidth:masterfrom
wirepair:master
Apr 11, 2017
Merged

refactor socket/netcode_conn add more of server implementation#18
gafferongames merged 4 commits intomas-bandwidth:masterfrom
wirepair:master

Conversation

@wirepair
Copy link
Contributor

Largest changes are around socket handling. Since the Read call is blocking in Go and we can't safely create a packet queue for server connections (since that would introduce a super simple DoS). I rewrote the connection handling code to call a delegate handler which servers/clients can set to process packets and do their internal packet queuing safely after verification.

@gafferongames
Copy link
Contributor

Nice!

@gafferongames gafferongames merged commit 3cbbaf0 into mas-bandwidth:master Apr 11, 2017
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