module Sox
Defined in:
connection_request.crsox.cr
sox/client.cr
sox/server.cr
sox/udp.cr
Constant Summary
-
BLANK_BYTE =
0_u8
-
MARK_BYTE =
255_u8
-
RESERVED =
BLANK_BYTE
-
V4 =
4_u8
-
V5 =
5_u8
Constructors
Class Method Summary
Instance Method Summary
- #receive(message : Bytes) : Tuple(Int32, IPAddress)
- #receive(max_message_size = 512) : Tuple(String, IPAddress)
- #tcp?
- #udp?
Constructor Detail
def self.new(host : String, port : Int = 80, proxy_host : String = "127.0.0.1", proxy_port : Int = 1080, command : COMMAND = COMMAND::CONNECT, reuse_port : Bool = false)
#