MCPcopy
hub / github.com/monasticacademy/httptap / Accept

Method Accept

tcp.go:57–57  ·  view source on GitHub ↗

Accept replies with a SYN+ACK back and returns a connection that can be read

()

Source from the content-addressed store, hash-verified

55
56 // Accept replies with a SYN+ACK back and returns a connection that can be read
57 Accept() (net.Conn, error)
58
59 // Reject replies with a RST and the connection is done
60 Reject()

Callers 5

ListenTCPMethod · 0.65
HandleTCPMethod · 0.65
MainFunction · 0.65
MainFunction · 0.65
AcceptMethod · 0.65

Implementers 2

tcpStreamtcp.go

Calls

no outgoing calls

Tested by

no test coverage detected