I want to build a client-server system with a root-client and a simple
stand-alone server written in C. I can send a message from root-client
to C-server. The server acts by sending back a copy of the client's
message. This message, however, for some reason does not reach the
root-client.
I learned that root adds 8 bytes (length and type) at the beginning of
each
message and expects the same from the received messages. This should not
cause a problem because the server sends a copy of the client's message.
Here is my root-client session:
root [0] gROOT->Reset();
root [1] TSocket *soc = new TSocket("kp1pck",7777);
root [2] soc->Send("dupa");
root [3] char str[256];
root [4] soc->Recv(str,100);
here root hangs waiting for the answer which never comes.
Thanks for any hints
Dariusz Miskowiec
-- +-------------------------------------------------------------------+ + Dariusz Miskowiec E-mail: D.Miskowiec@gsi.de + + GSI, Planckstr. 1 Phone: 0049-6159-712-133 + + D-64291 Darmstadt Fax: 0049-6159-712-785 + +-------------------------------------------------------------------+