X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=example-codegen%2Fclient.cpp;fp=example-codegen%2Fclient.cpp;h=97d309e21020632c36cbe986698985a43a9f2d64;hp=f7d94eab02e7f62050738e72bf67ba6c2c28b097;hb=29ba0e9777f576fa318decb2915bf8895bf233eb;hpb=25b3f2c14d2194d6f5aff9a21c09537c4741caa5 diff --git a/example-codegen/client.cpp b/example-codegen/client.cpp index f7d94ea..97d309e 100644 --- a/example-codegen/client.cpp +++ b/example-codegen/client.cpp @@ -12,7 +12,9 @@ int main(int argc, char** argv) { libt2n::socket_client_connection sc("./socket"); + libt2n::socket_client_connection sc_other("./socket_other"); cmd_group_default_client cc(sc); + cmd_group_other_client cc_other(sc_other); bool throwok=false; try @@ -26,6 +28,6 @@ int main(int argc, char** argv) && ( cc.testfunc("hello") == "hello, testfunc() was here" ) && ( cc.testfunc_ref("hello") == "hello, testfunc() was here" ) && ( cc.t2(10) == 10 ) - && ( cc.t3(10, 20, "hello", std::pair(10,20)) ) ) + && ( cc_other.t3(10, 20, "hello", std::pair(10,20)) ) ) ? EXIT_SUCCESS : EXIT_FAILURE; }