void afgs_afkeys_set_connection_key_simple VortexConnection connection,
AfgsAfKey af_key
 

Allows to stablish the given AfgsAfKey to the given connection.

This function set up the connection key to be used to check if an incoming petition can be served. This callback is served by all servers implemented by using afgs_main_run_server.

So if you use the mentioned function you server will accept incoming "set_connection_key" petition and it will be server in a transparent way for the server programmer.

Parameters:
connection Where the key is going to be set.
af_key An af-key to be set