I made a socket in C. This program is operated by command line and compiled on Linux. It receives as a parameter a complete URI and a filename, and then connects to the server, retrieves the page and saves it to the reported file. After getting the remote data. The file received by the recv function comes with a HEADER. The question is: How to remove this HEADER before the file is written by the fwrite () function.