Documentation ¶
Index ¶
- func Dial(network string, laddr string, raddr string) (net.Conn, error)
- func DialTimeout(network string, laddr string, raddr string, timeout time.Duration) (net.Conn, error)
- func Listen(network string, address string) (net.Listener, error)
- func ListenPacket(network string, address string) (net.PacketConn, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
Dial do the same thing with net.Dial but with socket that have SO_REUSEADDR and SO_REUSEPORT flags.
func DialTimeout ¶
func DialTimeout(network string, laddr string, raddr string, timeout time.Duration) (net.Conn, error)
DialTimeout do the same thing with net.DialTimeout but with socket that have SO_REUSEADDR and SO_REUSEPORT flags.
func Listen ¶
Listen do the same thing with net.Listen but with socket that have SO_REUSEADDR and SO_REUSEPORT flags.
func ListenPacket ¶
func ListenPacket(network string, address string) (net.PacketConn, error)
ListenPacket do the same thing with net.ListenPacket but with socket that have SO_REUSEADDR and SO_REUSEPORT flags.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.