The definition of "receive message" callback is wrong in the documentation It says: Parameters: char *source, int ac, char **av It should be: Parameters: char *source, char *cmd, int ac, char **av in the protocol sources, the functions for this callback are declared as: static int do_receive_message(char *source, char *cmd, int ac, char **av) <<V13>>