* @brief tests for mq with connection client
*/
#include "platform.h"
-#include "gnunet_common.h"
#include "gnunet_util_lib.h"
#define PORT 23336
const struct GNUNET_MessageHeader *message)
{
received++;
-
- printf ("received\n");
-
-
if ((received == 2) && (GNUNET_YES == notify))
{
- printf ("done\n");
GNUNET_SERVER_receive_done (argclient, GNUNET_NO);
return;
}
{
/* the notify should only be called once */
GNUNET_assert (GNUNET_NO == notify);
- printf ("notify sent\n");
notify = GNUNET_YES;
}