--- libaitrpc/example/tsrv.c 2011/05/02 23:12:07 1.2 +++ libaitrpc/example/tsrv.c 2011/08/18 21:20:54 1.2.4.1 @@ -82,13 +82,13 @@ int main() pthread_t tid[2]; int ret; - srv = rpc_srv_initServer(100, 2, 1, 2, "0.0.0.0", 11111); + srv = rpc_srv_initServer(100, 2, 1, SOCK_STREAM, AF_INET, "0.0.0.0", 11111); if (!srv) { printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); return 1; } - if (rpc_srv_initBLOBServer(srv, 0, "/tmp")) { + if (rpc_srv_initBLOBServer(srv, SOCK_STREAM, 0, "/tmp")) { printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); return 1; }