Another, more flexible possibility is it, to set up a simple web server, that handles complete HTTP transactions. As a side effect it does not only handle XML-RPC requests but also passes data to or from a web browser or deletes files which is also part of the HTTP standard.
TcpIpConnection conn (0x7f000001, 80); HttpProtocol prot(&conn, conn); HttpServer http_server (&prot); Dispatcher rpc_server(&conn); http_server.setRpcDispatcher(&rpc_server); http_server.setHttpRoot("/http-directory/public_html"); rpc_server.addMethod(&testcall, "struct", "testcall", "int, int" "Testcase with a c-function"); http_server.runPicoHttpd();