Documentation ¶
Index ¶
- Constants
- type Conn
- 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) SetDontRoute() error
- func (c *Conn) SetNoDelay() error
- func (c *Conn) SetReadDeadline(t time.Time) error
- func (c *Conn) SetTTL(ttl uint8) error
- func (c *Conn) SetWriteDeadline(t time.Time) error
- func (c *Conn) Write(b []byte) (n int, err error)
- type Listener
Constants ¶
View Source
const ( // SOL_IP is not defined on darwin SOL_IP = 0x0 // SOL_IPV6 is not defined on darwin SOL_IPV6 = 0x29 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is TCP connection
func (*Conn) SetDeadline ¶
SetDeadline is here to fulfill net.Conn interface
func (*Conn) SetDontRoute ¶
SetDontRoute sets the SO_DONTROUTE option
func (*Conn) SetReadDeadline ¶
SetReadDeadline is here to fulfill net.Conn interface
func (*Conn) SetWriteDeadline ¶
SetWriteDeadline is here to fulfill net.Conn interface
Click to show internal directories.
Click to hide internal directories.