List Info

Thread: echo-client and echo-server on different physical machines, referencing echo.ref




echo-client and echo-server on different physical machines, referencing echo.ref
user name
2006-10-19 03:15:07
I recently downloaded and successfully compiled the echo
example from 
orbit-docs.tar.gz on a Debian Sarge system.  The echo-client
and 
echo-server tests ran fine.  (I don't see a version number,
but the 
orbit-docs/examples/echo/Makefile datestamp is 2004-07-09
09:34:54.

Since the echo-client and echo-server ran OK on the same
machine, the 
paragraph in this web page was interesting:

http://www.gnome.org/projects/ORBit2/orbit-docs/o
rbit/x182.html

<<<If you want to have fun now, compile orbit on a
different machine, 
make echo-client on the different machine, move  echo.ref 
from the 
first machine to the second and run echo-client: eh voila - 
client/server over tcp/ip with the same code that ran using
unix sockets 
on a single machine.>>>

However, even after copying the echo.ref file as explained
in the above 
web page, echo-client could not connect to echo-server.

Has this been fixed, or are there ways to troubleshoot this?
 I'd like 
to experiment with echo-client and echo-server on different
machines, 
I'm sure it's possible.

Thanks.

=======Keith

_______________________________________________
orbit-list mailing list
orbit-listgnome.org
htt
p://mail.gnome.org/mailman/listinfo/orbit-list
echo-client and echo-server on different physical machines, referencing echo.ref
user name
2006-10-19 04:00:03
I had similar problem before when I start learning ORBit2.
There is one issue which may solve your problem.
ORBit2 (CORBA) client use hostname to resolve server's
information.
So if your server has hostname, abc.xyz.com, make sure
your client can connect to server by using 'abc.xyz.com'.
IP address is NOT enough.

Also you can use

      ior-decode-2 `cat echo.ref`

to check both hostname and port number used on server.
Do you have firewall blocking the port ?


Regards
KC

On 10/19/06, Keith Christian <keithchristianyahoo.com> wrote:
> I recently downloaded and successfully compiled the
echo example from
> orbit-docs.tar.gz on a Debian Sarge system.  The
echo-client and
> echo-server tests ran fine.  (I don't see a version
number, but the
> orbit-docs/examples/echo/Makefile datestamp is
2004-07-09 09:34:54.
>
> Since the echo-client and echo-server ran OK on the
same machine, the
> paragraph in this web page was interesting:
>
> http://www.gnome.org/projects/ORBit2/orbit-docs/o
rbit/x182.html
>
> <<<If you want to have fun now, compile orbit
on a different machine,
> make echo-client on the different machine, move 
echo.ref  from the
> first machine to the second and run echo-client: eh
voila -
> client/server over tcp/ip with the same code that ran
using unix sockets
> on a single machine.>>>
>
> However, even after copying the echo.ref file as
explained in the above
> web page, echo-client could not connect to echo-server.
>
> Has this been fixed, or are there ways to troubleshoot
this?  I'd like
> to experiment with echo-client and echo-server on
different machines,
> I'm sure it's possible.
>
> Thanks.
>
> =======Keith
>
> _______________________________________________
> orbit-list mailing list
> orbit-listgnome.org
> htt
p://mail.gnome.org/mailman/listinfo/orbit-list
>
_______________________________________________
orbit-list mailing list
orbit-listgnome.org
htt
p://mail.gnome.org/mailman/listinfo/orbit-list
echo-client and echo-server on different physical machines, referencing echo.ref
user name
2006-10-19 08:02:30
What ORBit2 version are you using? There is a bug in ORBit2
2.14.3 that
prevents contacting other hosts over IPv4. It is fixed in
CVS but there
hasn't been any newer release of ORBit2. 2.14.2 is better.

--tml


_______________________________________________
orbit-list mailing list
orbit-listgnome.org
htt
p://mail.gnome.org/mailman/listinfo/orbit-list
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )