// Ping sends a dummy protocol message to the given host. This is useful to
// measure RTT between hosts. It also can be used as aliveness check.
Ping sends a dummy protocol message to the given host. This is useful to
measure RTT between hosts. It also can be used as aliveness check.
// Ping sends a dummy protocol message to the given host . This is useful to // measure RTT between hosts . It also can be used as aliveness check .
func (c *Client) Ping(addr string) error {
	req := protocol.NewSystemMessage(protocol.OpPing)
	_, err := c.client.RequestTo(addr, req)
	return err
}
func ( c * Client ) Ping ( addr string ) error { req := protocol . NewSystemMessage ( protocol . OpPing ) _ , err := c . client . RequestTo ( addr , req ) return err }
Ping sends a dummy protocol message to the given host.
Ping sends a dummy protocol message to the given host .