Skip to main content

format_error_reply

Function format_error_reply 

Source
pub fn format_error_reply(
    server_port: u16,
    client_port: u16,
    token: &str,
) -> Vec<u8> ⓘ
Expand description

Build the RFC 1413 §6 error reply. token must already be one of IDENT_ERROR_TOKENS.