Internet Direct (Indy) Version 9.0.1 Beta
|
procedure Ping;
Set ReceiveTimeout to indicate the time to wait for a response to the echo request datagram.
Use ReplyStatus to access the TReplyStatus received as a response to the echo request datagram.
Assign an OnReply event handler to perform additional processing when a TOnReplyEvent is detected.
TIdIcmpClient closes the socket handle allocated on completion of the Ping method.