Diff for /libaitrpc/example/tcli.c between versions 1.17 and 1.18

version 1.17, 2013/11/11 22:48:53 version 1.18, 2013/11/14 21:44:13
Line 20  int main(int argc, char **argv) Line 20  int main(int argc, char **argv)
         if (argc > 1)          if (argc > 1)
                 cli = rpc_cli_openClient(2, 1024 * 10, "127.0.0.1", 11111, SOCK_DGRAM);                  cli = rpc_cli_openClient(2, 1024 * 10, "127.0.0.1", 11111, SOCK_DGRAM);
         else          else
                cli = rpc_cli_openClient(2, 1024 * 10, "93.123.104.1", 11111, 0);//                cli = rpc_cli_openClient(2, 1024 * 10, "93.123.104.1", 11111, 0);
//                cli = rpc_cli_openClient(2, 1024 * 10, "127.0.0.1", 11111, 0);                cli = rpc_cli_openClient(2, 1024 * 10, "127.0.0.1", 11111, 0);
         if (!cli) {          if (!cli) {
                 printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError());                  printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError());
                 e_free(blob43);                  e_free(blob43);

Removed from v.1.17  
changed lines
  Added in v.1.18


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>