I`m trying to send a binary file (png image) in http response.
FILE *file; char *buffer; int fileLen; //Open file file = fopen(\"1.png\", \"rb\"); if (!file
The HTTP protocol specifies that it expects "\r\n" instead of "\n". Try that. :)