int write_socket_force(struct ClientSocket *client, char* msg, int len);
int write_socket(struct ClientSocket *client, char* msg, int len);
#ifdef HAVE_THREADS
-int clientsocket_parseorder_top(unsigned long tid);
+int clientsocket_parseorder_top(unsigned int tid);
#endif
void socket_loop(int timeout_seconds);
void putsock(struct ClientSocket *client, const char *text, ...) PRINTF_LIKE(2, 3);