1 /***************************************************************************
2 * Copyright (C) 2004 by Intra2net AG *
5 ***************************************************************************/
8 #include "minimalistic-stub.hxx"
10 #include <socket_server.hxx>
11 #include <command_server.hxx>
15 LIBT2N_EXPORT_GROUP(example) string testfunc(const string& str)
19 throw libt2n::t2n_runtime_error("throw me around");
21 ret.insert(0,100*1024,'x');
23 ret=str+", testfunc() was here";
27 using namespace libt2n;
29 int main(int argc, char** argv) {
30 extended_type_info_test();
32 socket_server ss("./socket");
33 group_command_server<cmd_group_example> cs(ss);
35 // handle requests (without timeout)