type net.TCPConn
20 uses
net (current package)
dial.go#L431: if tc, ok := c.(*TCPConn); ok && d.KeepAlive >= 0 {
hook.go#L14: testHookDialTCP func(ctx context.Context, net string, laddr, raddr *TCPAddr) (*TCPConn, error)
tcpsock.go#L85: type TCPConn struct {
tcpsock.go#L91: func (c *TCPConn) SyscallConn() (syscall.RawConn, error) {
tcpsock.go#L99: func (c *TCPConn) ReadFrom(r io.Reader) (int64, error) {
tcpsock.go#L112: func (c *TCPConn) CloseRead() error {
tcpsock.go#L124: func (c *TCPConn) CloseWrite() error {
tcpsock.go#L146: func (c *TCPConn) SetLinger(sec int) error {
tcpsock.go#L158: func (c *TCPConn) SetKeepAlive(keepalive bool) error {
tcpsock.go#L169: func (c *TCPConn) SetKeepAlivePeriod(d time.Duration) error {
tcpsock.go#L183: func (c *TCPConn) SetNoDelay(noDelay bool) error {
tcpsock.go#L193: func newTCPConn(fd *netFD) *TCPConn {
tcpsock.go#L194: c := &TCPConn{conn{fd}}
tcpsock.go#L206: func DialTCP(network string, laddr, raddr *TCPAddr) (*TCPConn, error) {
tcpsock.go#L244: func (l *TCPListener) AcceptTCP() (*TCPConn, error) {
tcpsock_posix.go#L47: func (c *TCPConn) readFrom(r io.Reader) (int64, error) {
tcpsock_posix.go#L57: func (sd *sysDialer) dialTCP(ctx context.Context, laddr, raddr *TCPAddr) (*TCPConn, error) {
tcpsock_posix.go#L64: func (sd *sysDialer) doDialTCP(ctx context.Context, laddr, raddr *TCPAddr) (*TCPConn, error) {
tcpsock_posix.go#L138: func (ln *TCPListener) accept() (*TCPConn, error) {
net/http
server.go#L1721: var _ closeWriter = (*net.TCPConn)(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. |