Documentation ¶
Index ¶
- type Addr
- type Conn
- func DialSequentialPacket(s *unix.SockaddrTIPC) (*Conn, error)
- func DialStream(s *unix.SockaddrTIPC) (*Conn, error)
- func ListenDatagram(s *unix.SockaddrTIPC) (*Conn, error)
- func ListenReliableDatagram(s *unix.SockaddrTIPC) (*Conn, error)
- func ReliableDatagram() (*Conn, error)
- func SocketPair() (c1, c2 *Conn, err error)
- func (tc *Conn) Close() (err error)
- func (tc *Conn) LocalAddr() net.Addr
- func (tc *Conn) Read(b []byte) (n int, err error)
- func (tc *Conn) ReadFrom(p []byte) (n int, addr net.Addr, err error)
- func (tc *Conn) RemoteAddr() net.Addr
- func (tc *Conn) SetDeadline(t time.Time) error
- func (tc *Conn) SetReadDeadline(t time.Time) error
- func (tc *Conn) SetWriteDeadline(t time.Time) error
- func (c *Conn) String() string
- func (tc *Conn) Write(b []byte) (n int, err error)
- func (tc *Conn) WriteTo(p []byte, addr net.Addr) (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
}
func DialSequentialPacket ¶
func DialSequentialPacket(s *unix.SockaddrTIPC) (*Conn, error)
func DialStream ¶
func DialStream(s *unix.SockaddrTIPC) (*Conn, error)
func ListenDatagram ¶
func ListenDatagram(s *unix.SockaddrTIPC) (*Conn, error)
func ListenReliableDatagram ¶
func ListenReliableDatagram(s *unix.SockaddrTIPC) (*Conn, error)
func ReliableDatagram ¶
func SocketPair ¶
SocketPair returns two AF_TIPC connections connected to each other through the local node. They are created as SOCK_SEQPACKET sockets.
func (*Conn) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.