is_keep_alive_packet

Function is_keep_alive_packet 

fn is_keep_alive_packet(packet: &[u8]) -> bool
Expand description

Checks if a byte sequence represents a keep-alive packet.

§Arguments

  • packet - The byte sequence to check.

§Returns

true if the packet is a keep-alive packet, false otherwise.