gboolean afgs_reg_register const gchar *  server_name,
gint  version_number,
gchar *  hostname,
gint  port,
AfDalNulFunc  usr_function
 

Allows to launch a register request for current server.

Common satellite server function which tries to register a satellite server on the kernel server. Once a kernel server response arrives usr_function is executed.

Parameters:
server_name Server name to be registered.
version_number Version number of the server to be registered.
hostname Server hostname where the machine is running.
port TCP port server location.
usr_function Function to be executed when response arrives
Returns:
TRUE if registration process was OK or FALSE in other case.