Documentation ¶
Index ¶
- type Client
- type Server
- func (s *Server) Accept() (c *TCB, rip *ipv4.Address, rport uint16, err error)
- func (s *Server) Bind(port uint16, ip *ipv4.Address) error
- func (s *Server) BindListen(port uint16, ip *ipv4.Address) error
- func (s *Server) BindListenWithQueueSize(port uint16, ip *ipv4.Address, backlog int) error
- func (s *Server) Close() error
- func (s *Server) Listen(backlog int) error
- type TCB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) BindListenWithQueueSize ¶
type TCB ¶
type TCB struct {
// contains filtered or unexported fields
}
func (*TCB) IsRemoteClosed ¶
Click to show internal directories.
Click to hide internal directories.