This directory contains example programs demonstrating Boost.Capy usage.
Minimal Capy program: a task that prints a message.
Two tasks communicating via an async event.
Composing buffer sequences without allocation for scatter/gather I/O.
Unit testing protocol code with mock streams and error injection.
Echo server demonstrating the compilation firewall pattern.
Using stop tokens to implement operation timeouts.
Running multiple operations concurrently with when_all.
Implementing the DynamicBuffer concept for a custom allocation strategy.
A complete echo server using Corosio for real network I/O. Requires Corosio.
Data transformation through a pipeline of sources and sinks.
cmake -B build -DBOOST_CAPY_BUILD_EXAMPLES=ON
cmake --build buildb2 example