enum NatPMP::OP

Overview

Opcodes defined by the RFC 6886

"Otherwise, if the opcode in the request is less than 128, but is not a supported opcode (currently 0, 1, or 2)"

RFC 6886 - 3.5. Result Codes

Defined in:

natpmp.cr

Enum Members

NOOP = 0_u8
UDP = 1_u8
TCP = 2_u8

Instance Method Summary

Instance Method Detail

def noop? #

[View source]
def tcp? #

[View source]
def udp? #

[View source]