Hey all,
I am pretty new to C and am trying to make a basic HTTP server to learn more about sockets. I managed to get the sockets working fine, and sent some data to the browser when I hardcoded the data. However I am now trying to read from a HTML file, append that data to some HTTP headers, and send that down the socket.
I cannot get it to send just the data, and it usually just sends a load of weird symbols.
��"h���K��"ȴ��`�!ȅ��䅍�$�"����p���v�!�����������������I",3,3��"��!��"���