How does the web server parse favicon.icon?

recently, I used cPP to write a web server. When dealing with http protocol, I mainly adopted the following ideas. Receive the data sent by the customer (fd), analyze the data, and parse the data with http. According to the parsing result, the http response message is set, and the body (usually index.html) is added to the response message. Finally, the response message is transmitted to the client, and the browser completes the rendering of the http.

but there is a problem

  • I don"t know how to write it so that the browser can display it correctly and store it in the favicon.icon of the server root
.

want to come here and ask

Apr.14,2022

display

correctly by adding link tags.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5ede2-457ed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5ede2-457ed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?