davidfowl / BedrockFramework

High performance, low level networking APIs for building custom servers and clients.
MIT License
1.04k stars 152 forks source link

Framing - Variable size length fielded protocol #133

Closed adamradocz closed 2 years ago

adamradocz commented 2 years ago

Fixes #132

Added a framing protocol for a scenario when a frame is variable sized and the header's PayloadLength field is used to split the incoming stream. Plus implemented a sample client and server for this protocol.

adamradocz commented 2 years ago

@davidfowl I'm sure you're super busy and don't have much time taking care of the PRs and issues. I really admire your works and this framework. I'd like to use this framework in a project in January, and this PR is especially important for me in order to suit for my needs. So I would be grateful, if we could sort this PR out relative quickly, so I don't have to deviate to much from your branch. Thank you!