struct connection_t; int send_message(struct connection_t *c, int len, int *msg); int recv_message(struct connection_t *c, int len, int *msg); struct connection_t *wait_for_connection(char *portno); struct connection_t *make_connection(char *host, char *portno); void close_connection(struct connection_t *c);