module Durian

Defined in:

durian/cache/ip_address.cr
durian/durian.cr
durian/network.cr
durian/network/tcp_client.cr
durian/network/udp_client.cr
durian/socket/tcp_socket.cr

Constant Summary

RecordType = ["A", "AAAA", "NS", "PTR", "CNAME", "SOA", "TXT", "MX", "DNAME", "SRV"] of ::String

Class Method Summary

Instance Method Summary

Class Method Detail

def self.decode_additional_ipv4_address(io : IO, length : Int) #

[View source]
def self.decode_additional_ipv6_address(io : IO, length : Int) #

[View source]
def self.decode_address(io : IO, buffer : IO | Nil, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64) #

[View source]
def self.decode_address_by_pointer(buffer : IO, offset : Int, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64) #

[View source]
def self.decode_address_by_pointer(io : IO, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64) #

[View source]
def self.decode_answer_ipv4_address(io : IO, length : Int) #

[View source]
def self.decode_answer_ipv6_address(io : IO, length : Int) #

[View source]
def self.decode_authority_ipv4_address(io : IO, length : Int) #

[View source]
def self.decode_authority_ipv6_address(io : IO, length : Int) #

[View source]
def self.encode_chunk_ipv4_address(ip_address, io : IO) #

[View source]
def self.limit_length_buffer(io : IO, length : Int) #

[View source]
def self.limit_length_buffer!(io : IO, length : Int) #

[View source]
def self.parse_chunk_address(io : IO, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64) #

[View source]
def self.parse_strict_length_address(io : IO, length : Int, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64) #

[View source]

Instance Method Detail

def limit_length_buffer(io : IO) : IO::Memory #

[View source]