Jeff Lenk 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
..
cpp 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
Makefile 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
README 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
auth_client.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
compound_value_client.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
compound_value_server.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
gen_sample_add_xml.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
interrupted_client.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
interrupted_server.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
json.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
synch_client.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
xmlrpc_asynch_client.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
xmlrpc_inetd_server.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
xmlrpc_loop_server.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
xmlrpc_sample_add_client.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
xmlrpc_sample_add_server.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
xmlrpc_sample_add_server_cgi.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
xmlrpc_sample_add_server_w32httpsys.c 00654d880e merged new xmlrpc-c revision 1472 from https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/trunk há 16 anos atrás
xmlrpc_server_validatee.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás
xmlrpc_socket_server.c 6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt há 12 anos atrás

README

This directory contains working examples of uses of XML-RPC-c. There
are XML-RPC servers and XML-RPC clients that use the Xmlrpc-c libraries.

The make file is a combination of an example of how to build programs
that use Xmlrpc-c libraries and something that actually does build the
programs in this directory. As such, it isn't perfect for either of
those purposes. To build the examples, you must first build the
libraries (make dependencies will not take care of that for you). Then
you can issue a simple 'make' in this directory.


The simplest server program is 'xmlrpc_sample_add_server'. This
implements a single XML-RPC method called 'sample.add'. All it does is
add two numbers and return the sum. You can run such a server like
this:

$ ./xmlrpc_sample_add_server 8080

The server this runs is based on the Abyss HTTP server. file. The
argument tell it to listen on TCP Port 8080 for RPCs. It puts log
information in /tmp, so be sure to look there.

A client program that goes along with this server is
'xmlrpc_sample_add_client'. All this client does is make an XML-RPC
request to Port 8080 of 'localhost' to add the numbers 5 and 7 and
print the result on Standard Output.

You can run such a client like this:

$ ./xmlrpc_sample_add_client