Hi Rafal,
I checked out your code and made some comments on bitbucket.
I can advice about threads. I don't think you really need to share a
pointer to socket between threads, you might need to pass a socket from
one thread to another. Basically, you can use ting::mt::Message to
achieve that. There is a WiKi page on
ting.googlecode.com about how to
use messages.
I have an alpha version of a multithreaded server using ting, you can
have a look at
http://cliser.googlecode.com
There are not much documents there but there are some test apps which
can be used as a code examples. It might seem a bit complex, but this is
what it turned out to be. Have a look, maybe you will find it useful and
make your http server based on cliser.
If any questions, please ask.
Thanks,
Ivan
> --
> You received this message because you are subscribed to the Google
> Groups "libting" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
libting+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.