/* 7. Set the endcondition boolean to true (and make sure the server stops after receiving it). */
globals->endcondition = 1;
-
- /* 8. Make sure we don't leak sockets */
- gras_socket_close(expeditor);
-
- /* 9. Tell GRAS that we consummed this message */
+
+ /* 8. Tell GRAS that we consummed this message */
return 0;
} /* end_of_server_cb_ping_handler */
globals->endcondition=0;
/* 6. Wait up to 10 minutes for an incomming message to handle */
- gras_msg_handle(60.0);
+ gras_msg_handle(10.0);
/* 7. Housekeeping */
if (!globals->endcondition)