MCPcopy Create free account
hub / github.com/Cyinx/einx / BeginPing

Method BeginPing

network/tcp_conn.go:144–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142}
143
144func (this *TcpConn) BeginPing() {
145 atomic.StoreInt64(&this.last_ping_tick, GetNowTick())
146}
147
148func (this *TcpConn) Pong(now_tick int64) {
149 if this.IsClosed() == true {

Callers

nothing calls this directly

Calls 1

GetNowTickFunction · 0.85

Tested by

no test coverage detected