FastSocket includes ready-to-run examples in the examples/ directory.
| Example | Description |
|---|---|
| Echo | Basic request-response echo server and client |
| Chat | Multi-client text chat |
| Secure Chat | Chat with RSA encryption |
| Chunks | Large data splitting and reassembly |
| File Transfer | Directory transfer with integrity checks |
| UDP | UDP unicast and broadcast scenarios |
| Metrics | Real-time connection monitoring |
| Benchmarks | TCP vs UDP performance comparison |
| Stress Test | Load generation and testing |
Tip: In general, start the server first, then the client(s).