gboolean afdal_session_do_a_nop gchar *  server,
AfDalNulFunc  usr_function,
gpointer  usr_data
 

Performs a nop operation against the given server.

Allows to make a nop request to a remote server. This nop (no operation) is just a nully request sent to remote peer and replied back to check if we have connection to remote peer.

This function works pretty much like ping.

Parameters:
server The server to check.
usr_function A user function to execute when replies arrives.
usr_data A user data to pass in to usr_function.
Returns:
TRUE if request was sent or FALSE if not.