module SOCKS
Defined in:
socks/address.crsocks/socks.cr
socks/version.cr
Constant Summary
-
AUTHORS =
Set {({name: "636f7374"})}
-
LICENSE =
"BSDv3"
-
RELEASE_DATE =
Time.parse_local("2021-02-25 00:00:00 +08:00", "%F %T ")
-
VERSION =
"1.0.0"
Class Method Summary
- .create_outbound_socket(command_type : Frames::CommandFlag, destination_address : Address, dns_resolver : DNS::Resolver, tcp_timeout : TimeOut = TimeOut.new, udp_timeout : TimeOut = TimeOut.udp_default) : IPSocket
- .create_outbound_socket(command_type : Frames::CommandFlag, destination_address : Socket::IPAddress | Address, dns_resolver : DNS::Resolver, tcp_timeout : TimeOut = TimeOut.new, udp_timeout : TimeOut = TimeOut.udp_default) : IPSocket
- .create_outbound_socket(command_type : Frames::CommandFlag, destination_address : Socket::IPAddress, tcp_timeout : TimeOut = TimeOut.new, udp_timeout : TimeOut = TimeOut.udp_default) : IPSocket
- .to_ip_address(host : String, port : Int32)
Class Method Detail
def self.create_outbound_socket(command_type : Frames::CommandFlag, destination_address : Address, dns_resolver : DNS::Resolver, tcp_timeout : TimeOut = TimeOut.new, udp_timeout : TimeOut = TimeOut.udp_default) : IPSocket
#
def self.create_outbound_socket(command_type : Frames::CommandFlag, destination_address : Socket::IPAddress | Address, dns_resolver : DNS::Resolver, tcp_timeout : TimeOut = TimeOut.new, udp_timeout : TimeOut = TimeOut.udp_default) : IPSocket
#
def self.create_outbound_socket(command_type : Frames::CommandFlag, destination_address : Socket::IPAddress, tcp_timeout : TimeOut = TimeOut.new, udp_timeout : TimeOut = TimeOut.udp_default) : IPSocket
#