Menu

Improvements to socket handling

Help
2004-08-12
2004-08-13
  • eric lindvall

    eric lindvall - 2004-08-12

    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.

     
    • David

      David - 2004-08-13

      Hi vee-eye,
      It would be very nice if you could also post your XmlRpcThreadedServer class.
      Thanks

       

Log in to post a comment.