Versions in this module Expand all Collapse all v0 v0.3.9 Oct 31, 2015 v0.3.8 Oct 19, 2015 Changes in this version + func Dial(addr string) (net.Conn, error) + func DialTimeout(addr string, timeout time.Duration) (nc net.Conn, err error) + type Conn struct + func (c *Conn) Close() 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 (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() (c net.Conn, err error) + func (s *Socket) Addr() net.Addr + func (s *Socket) Close() (err error) + func (s *Socket) Dial(addr string) (net.Conn, error) + func (s *Socket) DialTimeout(addr string, timeout time.Duration) (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) (int, error)