Involved Source Files Package stdnet implements the transport.Net interface
using methods from Go's standard net package.
Package-Level Type Names (only one)
/* sort by: | */
Net is an implementation of the net.Net interface
based on functions of the standard net package. CreateDialer creates an instance of vnet.Dialer Dial connects to the address on the named network. DialTCP acts like Dial for TCP networks. DialUDP acts like Dial for UDP networks. InterfaceByIndex returns the interface specified by index.
On Solaris, it returns one of the logical network interfaces
sharing the logical data link; for more precision use
InterfaceByName. InterfaceByName returns the interface specified by name. Interfaces returns a slice of interfaces which are available on the
system ListenPacket announces on the local network address. ListenTCP acts like Listen for TCP networks. ListenUDP acts like ListenPacket for UDP networks. ResolveIPAddr returns an address of IP end point. ResolveTCPAddr returns an address of TCP end point. ResolveUDPAddr returns an address of UDP end point. UpdateInterfaces updates the internal list of network interfaces
and associated addresses.
*Net : github.com/pion/transport/v2.Dialer
*Net : github.com/pion/transport/v2.Net
*Net : github.com/pion/transport/v3.Dialer
*Net : github.com/nats-io/nats.go.CustomDialer
*Net : golang.org/x/net/proxy.Dialer
func NewNet() (*Net, error)
Package-Level Functions (only one)
NewNet creates a new StdNet instance.
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.