#tcp-server #tcp #tcp-client #client-server #server #networking #async

zwiesel

Asynchronous TCP client and server for sending messages of some user-defined protocol

1 unstable release

0.1.0 Jun 16, 2023

#27 in #tcp-client

MIT/Apache

14KB
329 lines

This is a simple asynchronous TCP server for a user-defined protocol, along with a matching client. The purpose of this is to keep me from writing boilerplate network communication code for small apps or games. You just need to implement serialization and deserialization methods for your protocol, then you can get going. Here's an example.

Dependencies

~4–16MB
~150K SLoC