Add sendPing Method

Added the sendPing Method Implementation