Versions in this module Expand all Collapse all v0 v0.1.0 Feb 19, 2018 Changes in this version + func Dial(addr string) (net.Conn, error) + func DialContext(ctx context.Context, addr string) (nc net.Conn, err error) + func Listen(laddr string) (net.Listener, error) + func WriteStatus(w io.Writer) + type Conn struct + func (c *Conn) Close() (err error) + func (c *Conn) LocalAddr() net.Addr + func (c *Conn) Read(b []byte) (n int, err error) + func (c *Conn) RemoteAddr() net.Addr + func (c *Conn) SetDeadline(t time.Time) error + func (c *Conn) SetReadDeadline(t time.Time) error + func (c *Conn) SetWriteDeadline(t time.Time) error + func (c *Conn) String() string + func (c *Conn) Write(p []byte) (n int, err error) + type Socket struct + ReadErr error + func NewSocket(network, addr string) (s *Socket, err error) + func NewSocketFromPacketConn(pc net.PacketConn) (s *Socket, err error) + func NewSocketFromPacketConnNoClose(pc net.PacketConn) (s *Socket, err error) + func (c *Socket) SetDeadline(t time.Time) error + func (c *Socket) SetReadDeadline(t time.Time) error + func (c *Socket) SetWriteDeadline(t time.Time) error + func (s *Socket) Accept() (net.Conn, error) + func (s *Socket) Addr() net.Addr + func (s *Socket) Close() error + func (s *Socket) CloseNow() error + func (s *Socket) Dial(addr string) (net.Conn, error) + func (s *Socket) DialContext(ctx context.Context, network, addr string) (nc net.Conn, err error) + func (s *Socket) LocalAddr() net.Addr + func (s *Socket) ReadFrom(p []byte) (n int, addr net.Addr, err error) + func (s *Socket) WriteTo(b []byte, addr net.Addr) (n int, err error)