type net.TCPListener
16 uses
net (current package)
file_unix.go#L96: return &TCPListener{fd: fd}, nil
tcpsock.go#L252: type TCPListener struct {
tcpsock.go#L262: func (l *TCPListener) SyscallConn() (syscall.RawConn, error) {
tcpsock.go#L271: func (l *TCPListener) AcceptTCP() (*TCPConn, error) {
tcpsock.go#L284: func (l *TCPListener) Accept() (Conn, error) {
tcpsock.go#L297: func (l *TCPListener) Close() error {
tcpsock.go#L310: func (l *TCPListener) Addr() Addr { return l.fd.laddr }
tcpsock.go#L314: func (l *TCPListener) SetDeadline(t time.Time) error {
tcpsock.go#L331: func (l *TCPListener) File() (f *os.File, err error) {
tcpsock.go#L351: 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