int write_socket_force(struct ClientSocket *client, char* msg, int len);
int write_socket(struct ClientSocket *client, char* msg, int len);
void socket_loop(int timeout_seconds);
int write_socket_force(struct ClientSocket *client, char* msg, int len);
int write_socket(struct ClientSocket *client, char* msg, int len);
void socket_loop(int timeout_seconds);