type net.TCPListener
16 uses
net (current package)
file_unix.go#L96: return &TCPListener{fd: fd}, nil
tcpsock.go#L225: type TCPListener struct {
tcpsock.go#L235: func (l *TCPListener) SyscallConn() (syscall.RawConn, error) {
tcpsock.go#L244: func (l *TCPListener) AcceptTCP() (*TCPConn, error) {
tcpsock.go#L257: func (l *TCPListener) Accept() (Conn, error) {
tcpsock.go#L270: func (l *TCPListener) Close() error {
tcpsock.go#L283: func (l *TCPListener) Addr() Addr { return l.fd.laddr }
tcpsock.go#L287: func (l *TCPListener) SetDeadline(t time.Time) error {
tcpsock.go#L304: func (l *TCPListener) File() (f *os.File, err error) {
tcpsock.go#L324: func ListenTCP(network string, laddr *TCPAddr) (*TCPListener, error) {
tcpsock_posix.go#L136: func (ln *TCPListener) ok() bool { return ln != nil && ln.fd != nil }
tcpsock_posix.go#L138: func (ln *TCPListener) accept() (*TCPConn, error) {
tcpsock_posix.go#L155: func (ln *TCPListener) close() error {
tcpsock_posix.go#L159: func (ln *TCPListener) file() (*os.File, error) {
tcpsock_posix.go#L167: func (sl *sysListener) listenTCP(ctx context.Context, laddr *TCPAddr) (*TCPListener, error) {
tcpsock_posix.go#L172: return &TCPListener{fd: fd, lc: sl.ListenConfig}, nil
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |