SYNAPSE - Synchronous TCP/IP Library for Delphi
Other related information can be found at http://www.ararat.cz/synapse/
Class: TPINGSend
- Properties:
- Timeout:integer
Define timeout in millisecond for all PING operations. Default value is 5 seconds.
- PacketSize:Integer
Size of PING packet. Default size is 32 bytes.
- PingTime:integer
After successful PING holds ping time in milliseconds.
- Methods:
- Function ping(host:string):Boolean
Send ICMP ping to host and count pingtime. If ping OK, result is true.
- Not class (but cohere) functions:
- PingHost(host:string):integer
This is useful function and example of use TPINGSend object. Use for simply ping to any host. Result is ping time, or if error, result is -1.