class Socks::Socks4

Direct Known Subclasses

Defined in:

nghttp/transports/socks/socks.cr

Constant Summary

Version = 4

Instance Method Summary

Instance methods inherited from class Socks::Socks

close(*args, **options)
close(*args, **options, &)
close
, closed?(*args, **options)
closed?(*args, **options, &)
closed?
, connect(host : String, port : Int) connect, connect_socks connect_socks, flush(*args, **options)
flush(*args, **options, &)
flush
, peek(*args, **options)
peek(*args, **options, &)
peek
, read(*args, **options)
read(*args, **options, &)
read
, rewind(*args, **options)
rewind(*args, **options, &)
rewind
, socks socks, socks? : TCPSocket? socks?, socks_host : String socks_host, socks_port : Int32 socks_port, tty?(*args, **options)
tty?(*args, **options, &)
tty?
, write(data : Bytes) : Nil write

Constructor methods inherited from class Socks::Socks

new(host : String, port : Int32, username : Nil | String = nil, password : Nil | String = nil, anonymous_username : Nil | String = "user") new

Instance methods inherited from class IO

pack(spec, *a) pack, reunpack(src, dst, *vars) reunpack, unpack(spec) unpack

Instance Method Detail

def connect(host, port) #

[View source]
def recv_connect #

[View source]
def send_connect(host, port) #

[View source]
def send_connect_ipv4(ip, port) #

[View source]