Hello.
I am trying the example about IceStorm from de pdf. I am using Ice 3.3.1, in an ubuntu 8.04 distro. I have just compiled and linked the publisher and the subscriber, and I have added the lines:
because when I was compiling, communicator wasn't declared.Code:Ice::CommunicatorPtr communicator; communicator = Ice::initialize(argc, argv);
The problem is that when I am going to execute the subscriber, it throws the following exception:
I have used the --Ice.Trace.Network=2, in order to see what was happening, and the result was:terminate called after throwing an instance of 'Ice::ConnectionRefusedException'
what(): Network.cpp:1220: Ice::ConnectionRefusedException:
local address = 127.0.0.1:59622
remote address = <not connected>
So I suspect that subscriber is trying to connect to another machine, but, why is this happening? I supposed that subscriber acts like a server, and publisher like a client.
any help?
Thanks.

Reply With Quote
