#include #include "servicepoint.h" int main(void) { UdpConnection *connection = sp_connection_open("localhost:2342"); if (connection == NULL) return 1; Bitmap *pixels = sp_bitmap_new(SP_PIXEL_WIDTH, SP_PIXEL_HEIGHT); if (pixels == NULL) return 1; sp_bitmap_fill(pixels, true); Command *command = sp_command_bitmap_linear_win(0, 0, pixels, SP_COMPRESSION_CODE_UNCOMPRESSED); if (command == NULL) return 1; sp_connection_send_command(connection, command); sp_connection_free(connection); return 0; }