commit changes to build
[libt2n] / examples / minimalistic-client.cpp
CommitLineData
db49c2f9
JT
1/***************************************************************************
2 * Copyright (C) 2004 by Intra2net AG *
3 * info@intra2net.com *
4 * *
5 ***************************************************************************/
6
7#include <socket_client.hxx>
8
9// include library header
10#include "minimalistic-client-stub.hxx"
11
12int main(int argc, char** argv)
13{
14 extended_type_info_test();
15
16 libt2n::socket_client_connection sc("./socket");
17 cmd_group_example_client cc(sc);
18
19 return (cc.testfunc("hello")=="hello, testfunc() was here") ? EXIT_SUCCESS : EXIT_FAILURE;
20}