Diff for /libaitrpc/example/tcli.c between versions 1.10 and 1.11

version 1.10, 2012/11/13 09:22:10 version 1.11, 2012/11/19 21:50:26
Line 13  int main(int argc, char **argv) Line 13  int main(int argc, char **argv)
         char *mem, *blob43 = io_malloc(512);          char *mem, *blob43 = io_malloc(512);
         struct timeval after, before;          struct timeval after, before;
   
        cli = rpc_cli_openClient(100, 2, 1024 * 10, "127.0.0.1", 11111);//      printf("MM model=%d\n", io_mm_inuse());
 //      getchar();
 
         cli = rpc_cli_openClient(100, 2, 1024 * 10, "127.0.0.1", 11111, SOCK_DGRAM);
 //      cli = rpc_cli_openClient(100, 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());
                 io_free(blob43);                  io_free(blob43);

Removed from v.1.10  
changed lines
  Added in v.1.11


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