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_SET_DEFAULTGROUP(example);
17 LIBT2N_EXPORT std::string testfunc(const string& str)
21 throw libt2n::t2n_runtime_error("throw me around");
23 ret.insert(0,100*1024,'x');
25 ret=str+", testfunc() was here";
29 using namespace libt2n;
31 int main(int argc, char** argv) {
32 extended_type_info_test();
34 socket_server ss("./socket");
35 group_command_server<cmd_group_example> cs(ss);
37 // handle requests (without timeout)