method

ping

ping()
public

Checks connection, returns true if active. Note that ping actively checks the connection, while #active? simply returns the last known state.