XML-RPC for C and C++

A lightweight RPC library based on XML and HTTP.

Copyright 2001 Eric Kidd. All rights reserved. The contents of this website may be distributed under the same license terms as XML-RPC for C/C++. Funding for the initial releases of XML-RPC for C/C++ was provided in part by First Peer, Inc.

SourceForge Logo

Example Code

The API was designed for ease-of-use. Here are some clients and servers:

(These links are for looking at, not downloading and playing with. If you want to compile something, see below).

Written in C++

Written in C

All of these examples are in the examples/ directory of the Xmlrpc-c source tree (in fact, the links above are to the Subversion master copy of the source tree), and there is a make file in that directory suitable for building them.

The examples above are meant for the most advanced available version of Xmlrpc-c. If you're using a more primitive version of Xmlrpc-c (e.g. the Stable series), they may not apply. So get the corresponding examples from the source tree for your level of Xmlrpc-c.