#ifdef HAVE_THREADS
int clientsocket_parseorder_top(unsigned int tid);
#endif
-void socket_loop(int timeout_seconds);
+int socket_loop(int timeout_seconds);
void putsock(struct ClientSocket *client, const char *text, ...) PRINTF_LIKE(2, 3);
struct ClientSocket* getBots(int flags, struct ClientSocket* last_bot);
void init_sockets();