--- libaitrpc/example/tcli.c 2012/11/13 09:22:10 1.10 +++ libaitrpc/example/tcli.c 2012/11/19 21:50:26 1.11 @@ -13,7 +13,11 @@ int main(int argc, char **argv) char *mem, *blob43 = io_malloc(512); 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) { printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); io_free(blob43);