FACT++  1.0
void main ( int  argc,
char **  argv 
)

Definition at line 155 of file rshServer.cxx.

References Cmd::Cmd(), sprintf(), and DimServer::start().

156 {
157  char host[64], cmd_name[128], result_name[128];
158  Cmd *cmd;
159 
160 #ifdef WIN32
161  init_sock();
162 #endif
163  gethostname(host, 64);
164 
165 //Setup command reception and result publishing
166  sprintf(cmd_name,"%s/ExecuteCmd",host);
167  sprintf(result_name,"%s/CmdResult", host);
168  cmd = new Cmd(cmd_name, result_name);
169 
170  sprintf(cmd_name,"%s_server",host);
171  DimServer::start(cmd_name);
172  while(1)
173  {
174  pause();
175  }
176 }
static void start()
Definition: discpp.cxx:512
sprintf(name1,"NewService%d", i)

+ Here is the call graph for this function: