PeerIOContext - Per-peer async I/O buffers and framing state. More...
#include <librats.h>
Public Attributes | |
| ReceiveBuffer | recv_buffer {8192} |
| ChainedSendBuffer | send_buffer |
| std::unique_ptr< rats::NoiseHandshakeState > | noise_hs |
| int | noise_step = 0 |
PeerIOContext - Per-peer async I/O buffers and framing state.
Used by the single-threaded IO loop for non-blocking message framing: recv_buffer – incoming bytes from recv(); frames parsed incrementally send_buffer – outgoing frames queued for non-blocking send() noise_hs – transient Noise XX handshake state (only during NOISE_PENDING) noise_step – current step in the 3-message XX pattern
| std::unique_ptr<rats::NoiseHandshakeState> librats::PeerIOContext::noise_hs |