![Notice](/static/shared/icon/info_gm_grey_24dp.svg)
The highest tagged major version is
v2.
package
Version:
v1.2.10
Opens a new window with list of versions in this module.
Published: Aug 21, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func TCPSocket(proto, addr string, reusePort bool) (int, net.Addr, error)
-
func UDPSocket(proto, addr string, reusePort bool) (int, net.Addr, error)
-
func UnixSocket(proto, addr string, reusePort bool) (int, net.Addr, error)
TCPSocket calls tcpReusablePort.
UDPSocket calls udpReusablePort.
UnixSocket calls udsReusablePort.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.