Skip to content

why not support Async Read/Write trait? #6

Answered by b23r0
R4cky asked this question in Q&A
Discussion options

You must be logged in to vote

Since Raknet is a message protocol, not a stream protocol like Tcp, it should implement features like UdpSocket.

According to the interface required by Async Read/Write, each IO needs to pass a fixed-size buffer to receive data, which may cause Raknet to fail to receive a complete or independent message each time IO.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by R4cky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants