--- libaitrpc/example/tcli.c 2012/11/16 08:33:05 1.10.2.1 +++ libaitrpc/example/tcli.c 2012/11/19 21:28:55 1.10.2.3 @@ -13,10 +13,11 @@ int main(int argc, char **argv) char *mem, *blob43 = io_malloc(512); struct timeval after, before; - printf("MM model=%d\n", io_mm_inuse()); - getchar(); +// printf("MM model=%d\n", io_mm_inuse()); +// 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) { printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); io_free(blob43);