struct Sniffer::TCPPacket

Defined in:

sniffer/tcp_packet.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Sniffer::Header

initialize initialize, read_u16(io) read_u16, read_u32(io) read_u32, read_u64(io) read_u64, read_u8(io) read_u8

Constructor methods inherited from struct Sniffer::Header

new new

Constructor Detail

def self.new(io : IO) #

[View source]

Instance Method Detail

def dst_port : UInt16 #

[View source]
def inspect #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.


[View source]
def src_port : UInt16 #

[View source]