type net.TCPListener
19 uses
net (current package)
file_unix.go#L96: return &TCPListener{fd: fd}, nil
mptcpsock_linux.go#L77: func (sl *sysListener) listenMPTCP(ctx context.Context, laddr *TCPAddr) (*TCPListener, error) {
tcpsock.go#L344: type TCPListener struct {
tcpsock.go#L354: func (l *TCPListener) SyscallConn() (syscall.RawConn, error) {
tcpsock.go#L363: func (l *TCPListener) AcceptTCP() (*TCPConn, error) {
tcpsock.go#L376: func (l *TCPListener) Accept() (Conn, error) {
tcpsock.go#L389: func (l *TCPListener) Close() error {
tcpsock.go#L402: func (l *TCPListener) Addr() Addr { return l.fd.laddr }
tcpsock.go#L406: func (l *TCPListener) SetDeadline(t time.Time) error {
tcpsock.go#L420: func (l *TCPListener) File() (f *os.File, err error) {
tcpsock.go#L440: func ListenTCP(network string, laddr *TCPAddr) (*TCPListener, error) {
tcpsock.go#L451: ln *TCPListener
tcpsock_posix.go#L156: func (ln *TCPListener) ok() bool { return ln != nil && ln.fd != nil }
tcpsock_posix.go#L158: func (ln *TCPListener) accept() (*TCPConn, error) {
tcpsock_posix.go#L166: func (ln *TCPListener) close() error {
tcpsock_posix.go#L170: func (ln *TCPListener) file() (*os.File, error) {
tcpsock_posix.go#L178: func (sl *sysListener) listenTCP(ctx context.Context, laddr *TCPAddr) (*TCPListener, error) {
tcpsock_posix.go#L182: func (sl *sysListener) listenTCPProto(ctx context.Context, laddr *TCPAddr, proto int) (*TCPListener, error) {
tcpsock_posix.go#L193: return &TCPListener{fd: fd, lc: sl.ListenConfig}, nil