16#define RPC_MYTEST RPC_MIN_ID
65 printf(
"Remote host name: ");
74 printf(
"Cannot connect to RPC server running on %s at port 1750.\n",
host_name);
82 rpc_client_call(
hConn,
RPC_MYTEST, 1, 2, 3l, f,
d, &b, &w, &
i, &f, &
d);
84 printf(
"\nResult should be: 2 4 6 7.0 9.0\n");
85 printf(
"Result is: %d %d %d %1.1f %1.1lf\n", b, w,
i, f,
d);
char * ss_gets(char *string, int size)
INT rpc_client_connect(const char *host_name, INT port, const char *client_name, HNDLE *hConnection)
INT rpc_client_disconnect(HNDLE hConn, BOOL bShutdown)
INT rpc_client_call(HNDLE hConn, DWORD routine_id,...)
INT rpc_register_client(const char *name, RPC_LIST *list)
char host_name[HOST_NAME_LENGTH]
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)