Re: problem prining C++ code using mg_printf_data

2014-07-31 Thread lordsanchez90
Thanks, for the answer, but I'm not solving the problem yet. I'm writing a mix between html and plain data, first html data, then plain, and then html again. I tried to return to the previous status but it dosn't work, and even its not printing the the data after the mg_send_header. while

proxy.c example

2014-07-31 Thread kk
Hello, I am trying to compile proxy.c to be able to see how mg_wakeup_server_ex works. Compiling using the Makefile provided in examples folder does not compile it. It says net_skeleton.h not found. Any idea what should be done to compile it? Thanks and Regards, KK -- You received this

Re: proxy.c example

2014-07-31 Thread Sergey Lyubka
clone https://github.com/cesanta/net_skeleton into the same directory where mongoose project is cloned. On Thu, Jul 31, 2014 at 5:28 PM, kk kunalkulshrestha1...@gmail.com wrote: Hello, I am trying to compile proxy.c to be able to see how mg_wakeup_server_ex works. Compiling using the

Re: proxy.c example

2014-07-31 Thread kk
Yes, That works. Thanks Sergey. I had to include -lcrypto and -lz cflags to git rid of linker errors. On Thursday, July 31, 2014 2:58:16 PM UTC-4, Sergey Lyubka wrote: clone https://github.com/cesanta/net_skeleton into the same directory where mongoose project is cloned. On Thu, Jul 31,