Versions in this module Expand all Collapse all v0 v0.2.3 Feb 27, 2015 v0.2.2 Feb 27, 2015 Changes in this version + type Dialer struct + LocalAddr net.Addr + Timeout time.Duration + func (d *Dialer) Dial(n, addr string) (*UTPConn, error) + type UTPAddr struct + func ResolveUTPAddr(n, addr string) (*UTPAddr, error) + func (a UTPAddr) Network() string + type UTPConn struct + func Dial(n, addr string) (*UTPConn, error) + func DialUTP(n string, laddr, raddr *UTPAddr) (*UTPConn, error) + func DialUTPTimeout(n string, laddr, raddr *UTPAddr, timeout time.Duration) (*UTPConn, error) + func (c *UTPConn) Close() error + func (c *UTPConn) LocalAddr() net.Addr + func (c *UTPConn) Read(b []byte) (int, error) + func (c *UTPConn) RemoteAddr() net.Addr + func (c *UTPConn) SetDeadline(t time.Time) error + func (c *UTPConn) SetKeepAlive(d time.Duration) error + func (c *UTPConn) SetReadDeadline(t time.Time) error + func (c *UTPConn) SetWriteDeadline(t time.Time) error + func (c *UTPConn) Write(b []byte) (int, error) + type UTPListener struct + RawConn net.PacketConn + func Listen(n, laddr string) (*UTPListener, error) + func ListenUTP(n string, laddr *UTPAddr) (*UTPListener, error) + func (l *UTPListener) Accept() (net.Conn, error) + func (l *UTPListener) AcceptUTP() (*UTPConn, error) + func (l *UTPListener) Addr() net.Addr + func (l *UTPListener) Close() error + func (l *UTPListener) SetDeadline(t time.Time) error