Dear Rahul, Yes, you can use either call to send images. Using "from_fd_at_offset" can be more efficient, but that's a detail. As for getting broken images, my best guess is that you didn't fill the buffer properly, set the size wrong or had some other corruption of the buffer in your code.
Happy hacking! Christian On 05/09/15 03:21, rahul bhola wrote: > Hi, > I had a doubt is it fine using MHD_create_response_from_buffer for > sending images rather than MHD_create_response_from_fd_at_offset ?? > > I tried with the buffer option but got broken images. > > cheers > Rahul
