c++ - How to receive HTTP GET and POST requests in C socket program? -


i trying create small c socket server. server sends out http/html responses fine enough. clients sending html requests , clients can different devices - mobile apps, browsers etc. need log requests type of devices requesting what.

i happen know browser sends cookies , user-agent info server , want server able record cookie , user-agent strings well.

so how enable reading of http headers in c/c++ server?

what trying read socket. using recv, problem solved. thinking complex while solution simple.


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -