Release Date: 1 February 2008
Namedt_ping - test a server's ability to respond
Generic Prototypedt_ping(dt_Handle, dt_String) => dt_Integer
C Prototype#include "dt_thor.h"
dt_Integer dt_ping(dt_Handle server, dt_Integer strlen, dt_String string)
FORTRAN Prototypeinclude 'dt_f_thor.inc'
integer*4 dt_f_ping(server, string)
DescriptionSends the text string on a round-trip to the server and back to verify that the connection is working correctly. This function in handy during debugging, but generally not used otherwise.
This function can be used by the user DX_INFO_USER.
Return ValueReturns the number of bytes of data sent to the server and successfully received back from the server or '0' if an error is detected or if the data sent does not match the data received.
Related Topicsdt_thor_server(3) dt_server(3)