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

Add empty array segment for required out message #17

Conversation

JohannesDeml
Copy link

I want to test the library with .NET and noticed one compile error in KcpConnection in bool ReceiveNextReliable(out KcpHeader header, out ArraySegment<byte> message). Since the message is set to out, it is required to be assigned. Setting it to an empty array segment seems like the proper way to do it.

@miwarnec
Copy link
Collaborator

fixed on master. thanks.

@miwarnec miwarnec closed this May 28, 2021
miwarnec pushed a commit that referenced this pull request May 28, 2021
miwarnec pushed a commit that referenced this pull request May 28, 2021
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.

3 participants