void* runServer(void* arg) { TSimpleServer *server; server = (TSimpleServer *) arg; server->serve(); }
void *serverStart(void* p) { TSimpleServer *srv = (TSimpleServer*)p; srv->serve(); return NULL; }