Ping/Pong message.

This commit is contained in:
Chris Rhodes 2013-03-07 17:43:33 -08:00
parent d1bf2c3a68
commit 60b9313a7a
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ func (conn *Conn) ping() {
for {
select {
case <-tick.C:
conn.Ping(time.Now().UnixNano())
conn.Ping(fmt.Sprintf("%d", time.Now().UnixNano()))
case <-conn.cPing:
tick.Stop()
return