pub fn decode_server_to_client(
bytes: &[u8],
sink: &mut dyn DiagnosticSink,
) -> Result<ServerPacket, DcsError>Expand description
Decode a UDP datagram sent from a DCS reflector (server → client).
§Errors
Same kinds as decode_client_to_server, but produces
ServerPacket variants. 14-byte ACK/NAK and 17-byte poll replies
are server-side packets; 100-byte voice frames are forwarded
bidirectionally.
§See also
ircDDBGateway/Common/DCSProtocolHandler.cpp — the reference
parser for the server side of the DCS wire format.