#include <string.h>
#include "contiki-net.h"
static uint8_t buffer[10];
static
{
PSOCK_SEND_STR(p,
"Welcome, please type something and press return.\n");
}
PROCESS(example_psock_server_process,
"Example protosocket server");
AUTOSTART_PROCESSES(&example_psock_server_process);
{
while(1) {
handle_connection(&ps);
}
}
}
}