+int slave(int argc, char *argv[])
+{
+ print_args(argc,argv);
+
+ while(1) {
+ m_task_t task = NULL;
+ int a;
+ a = MSG_task_get(&(task), PORT_22);
+ if (a == MSG_OK) {
+ PRINT_MESSAGE("Received \"%s\" \n", task->name);
+ PRINT_MESSAGE("Processing \"%s\" \n", task->name);
+ MSG_task_execute(task);
+ PRINT_MESSAGE("\"%s\" done \n", task->name);
+ MSG_task_destroy(task);
+ } else {
+ PRINT_MESSAGE("Hey ?! What's up ? \n");
+ DIE("Unexpected behaviour");
+ }
+ }
+ PRINT_MESSAGE("I'm done. See you!\n");
+ return 0;
+}
+
+
+int forwarder(int argc, char *argv[])