I have made some improvemnents to the socket handling of XmlRpc++. I created a class, XmlRpcSocketFD which encapsulates a socket. This allows for a much more logical (and more OO) grouping of the SSL code as well as allows for things like making sockets blocking.
With this patch, and a fairly simple class inherited from XmlRpcServer, you can create a threaded XmlRpc server with little effort.
The patch was made against the CVS depot on around june 30th.
I have made some improvemnents to the socket handling of XmlRpc++. I created a class, XmlRpcSocketFD which encapsulates a socket. This allows for a much more logical (and more OO) grouping of the SSL code as well as allows for things like making sockets blocking.
With this patch, and a fairly simple class inherited from XmlRpcServer, you can create a threaded XmlRpc server with little effort.
The patch was made against the CVS depot on around june 30th.
http://5stops.com/drop/xmlrpcpp-socket-cleanup.patch
I hope people find value in this patch. If you do find it useful, I can provide the implementation of the XmlRpcThreadedServer class.
Hi vee-eye,
It would be very nice if you could also post your XmlRpcThreadedServer class.
Thanks