Member Avatar

Hi everyone! Is there a way/command in C to find a string that is contained in a longer string? I'm currently developing a C program in Windows that sends requests to a machine and gets its response through socket programming. The response is an image in jpeg/jfif format. The whole response looks like the one below: Received data is: [CODE] HTTP/1.1 200 OK SERVER: Network Camera Date: Thu, 01 Jan 1970 00:01:14 GMT Content-Type: image/jpeg Content-disposition: filename="something.jpg" Connection: close [/CODE] I want to receive the image sent to me and it should be viewable. I tried to write the whole …

Member Avatar
0
10

The End.