ping Method
Sends a Ping request to the remote host.
Syntax
def ping() -> None: ...
Remarks
This method sends a Ping request to the remote host and waits for a corresponding Pong response.
The timeout property specifies how long to wait for the Pong response.