# Packages
No description provided by the author
No description provided by the author
https://tools.ietf.org/html/rfc7064 https://tools.ietf.org/html/rfc7065.
Package mux is a library to multiplex network connections based on their payload.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
DialIP returns the local IP to in Dial.
ExceptInterfaceNameFilter you can specify which interface _not_ to listen on.
ExpectInterfaceNameFilter If you want to listen specified interfaces (and the loopback) give the name of the interface (eg eth0) here.
HostportOrDefault takes the user input target string and default port, returns formatted host and port info.
No description provided by the author
No description provided by the author
No description provided by the author
ListenAddr returns the Mac and IP to bind to in Listen.
ListenIP returns the IP to bind to in Listen.
ListenMac returns the Mac to bind to in Listen.
LoopbackListener returns a loopback listener on a first usable port in ports or 0 if ports is empty.
No description provided by the author
NewNotifyListener creates a new Listener that will recv conns on its channel.
OnceCloseListener wraps a net.Listener, protecting it from multiple Close calls.
No description provided by the author
ParseIPV4 parses i as an IP address, returning the result.
No description provided by the author
RandomPort returns a random port by a temporary listen on :0.
RoutedInterfaceNameFilter returns a network interface that can route IP traffic and satisfies flags.
ScoreAddr scores how likely the given addr is to be a remote address and returns the IP to use when listening.
ServeIP returns the IP to bind to in Listen.
SplitHostPort splits a network address of the form "host:port", "host%zone:port", "[host]:port" or "[host%zone]:port" into host or host%zone and port.
TcpKeepAliveListener sets TCP keep-alive timeouts on accepted connections.
# Variables
ErrListenerClosed is returned from Listener.Accept when the underlying listener is closed.
INet6AToN returns the numeric value of an IPv6 address.
INet6NToA returns the IPv6 address from a numeric value.
INetAToN returns the numeric value of an IP address.
INetNToA returns the IP address from a numeric value.
No description provided by the author
No description provided by the author
# Structs
MultiListener is a net.Listener that accepts all the connections from all listeners.
No description provided by the author
# Type aliases
No description provided by the author