#pragma once // file descriptor of the socket we're listening for connections on // // returns fd for the client connection int accept_client(int sockfd); int wait_for_client(int& sockfd); void send_message(int sock, const char* message); void send_image_dimensions(int sock, unsigned int width, unsigned int height);