Modules§
Enums§
- Address
- SOCKS5 address type
Constants§
- DEFAULT_
BUF_ SIZE - shadowsocks-rust, xray and tokio copy_bidirectional method all use 8k buffer
- MAXIMUM_
UDP_ PAYLOAD_ SIZE - https://github.com/shadowsocks/shadowsocks-rust/blob/c02d2edbff27d8be4cf542c3c3cd0fc6a059c8bd/crates/shadowsocks/src/relay/udprelay/mod.rs#L66-L70 The maximum UDP payload size (defined in the original shadowsocks Python)
- TCP_
DEFAULT_ KEEPALIVE_ TIMEOUT - Default TCP Keep Alive timeout