pw_channel#

pw_channel is deprecated

pw_channel is deprecated. Do not use it for new code. Use pw::transport::Socket or pw::transport::ReliableSocket in pw_transport instead.

Note that pw_async2 Channels are not related to pw_channel.

Async, zero-copy API for sending and receiving bytes or datagrams

Deprecated C++

pw_channel provides async data channels. It is deprecated and replaced by pw::transport::Socket and pw::transport::ReliableSocket in pw_transport.

Design

Channel attributes and the hourglass inheritance pattern.

Design
Reference

API reference for:

  • Channel

  • AnyChannel

  • ByteChannel

  • DatagramChannel

And more.

../api/cc/group__pw__channel.html