Documentation ¶
Index ¶
- type Conn
- func (c *Conn) Close() error
- func (c *Conn) LocalAddr() net.Addr
- func (c *Conn) Read(p []byte) (int, 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) Write(p []byte) (n int, err error)
- type Listener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn augments a connection-oriented connection over a UDP PacketConn
func (*Conn) SetReadDeadline ¶
SetReadDeadline is a stub
func (*Conn) SetWriteDeadline ¶
SetWriteDeadline is a stub
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
Listener augments a connection-oriented Listener over a UDP PacketConn
func (*Listener) Accept ¶
Accept waits for and returns the next connection to the listener. You have to either close or read on all connection that are created.
Click to show internal directories.
Click to hide internal directories.