pub fn build_greeting() -> [u8; 64]Expand description
Build the 64-byte ZMTP greeting.
Format:
Bytes 0–9: Signature: 0xFF + 8×0x00 + 0x7F
Byte 10: Version major: 0x03
Byte 11: Version minor: 0x01
Bytes 12–31: Mechanism: "NULL" + 16×0x00 (padded to 20 bytes)
Byte 32: as-server: 0x00 (MUST be zero for NULL mechanism)
Bytes 33–63: Reserved: 31×0x00