Lines Matching defs:server
15 char *server;
26 server = argv[1];
31 * server designated on the command line. We tell the rpc package
32 * to use the "tcp" protocol when contacting the server.
34 cl = clnt_create(server, MESSAGEPROG, MESSAGEVERS, "tcp");
37 * Couldn't establish connection with server.
40 clnt_pcreateerror(server);
45 * Call the remote procedure "printmessage" on the server
50 * An error occurred while calling the server.
53 clnt_perror(cl, server);
66 argv[0], server);
71 * The message got printed on the server's console
73 printf("Message delivered to %s!\n", server);