Ch11.10.4: Protocol Support in fast_io

Unlike Boost.Asio which focuses primarily on TCP and UDP, fast_io’s socket API supports a wide range of protocols through the OS’s native socket interface:

The key difference: fast_io wraps the OS’s socket interface directly, so you get access to everything the OS supports. You’re not limited to a hardcoded list of protocols.

For TCP and UDP, fast_io provides convenience functions like tcp_connect(), tcp_listen(), and DNS resolution. For other protocols, you can construct socket files directly from the OS’s socket handles.