Documentation ¶
Index ¶
- func DialWithOptions(raddr string, block kcp.BlockCrypt, dataShards, parityShards int) (*kcp.UDPSession, error)
- func ListenWithOptions(laddr string, block kcp.BlockCrypt, dataShards, parityShards int) (*kcp.Listener, error)
- func SetDSCP(v int)
- func SetHost(v string)
- func SetIgnRST(v bool)
- func SetNoHTTP(v bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialWithOptions ¶
func DialWithOptions(raddr string, block kcp.BlockCrypt, dataShards, parityShards int) (*kcp.UDPSession, error)
DialWithOptions connects to the remote address "raddr" on the network "udp" with packet encryption
func ListenWithOptions ¶
func ListenWithOptions(laddr string, block kcp.BlockCrypt, dataShards, parityShards int) (*kcp.Listener, error)
ListenWithOptions listens for incoming KCP packets addressed to the local address laddr on the network "udp" with packet encryption, dataShards, parityShards defines Reed-Solomon Erasure Coding parameters
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.