Go to the documentation of this file.
4 # pragma warning(disable:4786) // identifier was truncated in debug info
29 std::ifstream infile(
"pngnow.png", std::ios::binary);
31 infile.open(
"../pngnow.png", std::ios::binary);
33 result =
"Could not open file pngnow.png";
39 char c = infile.get();
40 if (infile.eof())
break;
43 std::cerr <<
"Read " << n <<
" bytes from pngnow.png\n";
50 int main(
int argc,
char* argv[])
53 std::cerr <<
"Usage: TestBase64Server serverPort\n";
56 int port = atoi(argv[1]);
A class to handle XML RPC requests.
std::vector< char > BinaryData
void execute(XmlRpcValue ¶ms, XmlRpcValue &result)
Execute the method. Subclasses must provide a definition for this method.
TestBase64(XmlRpcServer *s)
Abstract class representing a single RPC method.
int main(int argc, char *argv[])
bool bindAndListen(int port, int backlog=5)
TestBase64(XmlRpcServer *s)
void work(double msTime)
Process client requests for the specified time.
RPC method arguments and results are represented by Values.
xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:32