int dm_sendinfo

(const char* TAG, const char* string )

Function to send information to the immediate uplink, to be gathered using dm_gatherinfo.

Documentation

Function to send information to the immediate uplink, to be gathered using dm_gatherinfo.

Other nodes will be able to see the information sent with the TAG, for nodes which are connected to the same uplink, and all the children of the nodes which are connected to the same uplink.

It takes some time before the information is sent to uplink, namely the --sleep parameter given to dmachinemon-servent determines it.

Also this function should fail if dmachinemon-servent has terminated for some reason, maybe with --Dieonload option.

Unless --layers is specified when invoking dmachinemon-servent, the information that has been given with sendinfo will be available on all of the uplinks, with gatherinfo.

Parameters:
TAG - TAG to identify information
string - The information string.
Returns:
1 on error, 0 on success.

Alphabetic index



This page was generated with the help of DOC++.