#tcp-server #tcp #tcp-client #server #client-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

#25 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–14MB
~148K SLoC