/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Utilities/JobInfoSvc/JobInfoSvc-00-00-02/xmlrpc++0.7/test/TestBase64Server.cpp File Reference

#include <iostream>
#include <fstream>
#include <algorithm>
#include <stdlib.h>
#include "XmlRpc.h"

Go to the source code of this file.

Classes

class  TestBase64

Functions

int main (int argc, char *argv[])

Variables

XmlRpcServer s
TestBase64s


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 50 of file TestBase64Server.cpp.

References XmlRpc::XmlRpcServer::bindAndListen(), s, and XmlRpc::XmlRpcServer::work().

00051 {
00052   if (argc != 2) {
00053     std::cerr << "Usage: TestBase64Server serverPort\n";
00054     return -1;
00055   }
00056   int port = atoi(argv[1]);
00057 
00058   //XmlRpc::setVerbosity(5);
00059 
00060   // Create the server socket on the specified port
00061   s.bindAndListen(port);
00062 
00063   // Wait for requests indefinitely
00064   s.work(-1.0);
00065 
00066   return 0;
00067 }


Variable Documentation

TestBase64& s

XmlRpcServer s

Definition at line 19 of file TestBase64Server.cpp.


Generated on Tue Nov 29 23:17:21 2016 for BOSS_7.0.2 by  doxygen 1.4.7