Diff for /libaitrpc/example/tcli.c between versions 1.10.2.1 and 1.10.2.2

version 1.10.2.1, 2012/11/16 08:33:05 version 1.10.2.2, 2012/11/19 12:43:21
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;
   
        printf("MM model=%d\n", io_mm_inuse());//        printf("MM model=%d\n", io_mm_inuse());
        getchar();//        getchar();
   
        cli = rpc_cli_openClient(100, 2, 1024 * 10, "127.0.0.1", 11111);        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.2.1  
changed lines
  Added in v.1.10.2.2


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