MTCP¶
TCP data channel with multiplexing function. Multiplexing is based on xtaci/smux library.
Usage¶
Options¶
mux.version
(int, default=2)- SMUX protocol version.
mux.keepaliveDisabled
(bool, default=false)- Whether to disable keep-alive.
mux.keepaliveInterval
(duration, default=10s)- Heartbeat interval.
mux.keepaliveTimeout
(duration, default=30s)- Heartbeat timeout.
mux.maxFrameSize
(int, default=32768)- Maximum frame length.
mux.maxReceiveBuffer
(int, default=4194304)- Receive buffer size.
mux.maxStreamBuffer
(int, default=65536)- Steam Buffer Size.
Proxy¶
MTCP tunnel can be used in combination with various proxy protocols.
HTTP Over MTCP¶
SOCKS5 Over MTCP¶
Relay Over MTCP¶
Port Forwarding¶
MTCP tunnel can also be used as port forwarding.
Server
is equivalent to