[omniORB] connect to any host

Gerhard Grossauer gerhard.grossauer@lisec.com
Thu Jan 2 16:31:02 2003


This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C2B27D.ADFFE500
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

hello,
 
I'm actually developing an application in C++ on AIX, where the client
should connect to a servers on different hosts. the host name should be
a parameter of the client program. the name of the client program is
gps_status_transfer_client.
 
the client calls:
orb = CORBA::ORB_init(argc,argv,"omniORB3");
boa = orb->BOA_init(argc,argv,"omniORB3_BOA");
 
in this case the settings (ORBInitialHost) from /etc/omniORB.cfg are
used. But I sometimes want to connect to other hosts, different to this
ORBInitialHost.
 
I tried to call the client with "gps_status_transfer_client
-ORBServerName xxx" but then I just got "IOT/Abort trap".
 
How can acces servers on other hosts ?
 
kind regards
gerhard grossauer

------=_NextPart_000_000A_01C2B27D.ADFFE500
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Nachricht</TITLE>

<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial size=3D2><SPAN=20
class=3D328034015-02012003>hello,</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial size=3D2><SPAN=20
class=3D328034015-02012003></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial size=3D2>I'm =
actually=20
developing an application in C++ on AIX, where the client should connect =
to a=20
servers on different hosts. the host name&nbsp;should be&nbsp;a =
parameter of the=20
client program. the name of the client program is=20
gps_status_transfer_client.</FONT></SPAN></DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial size=3D2>the=20
client&nbsp;calls:</FONT></SPAN></DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial size=3D2>orb =
=3D=20
CORBA::ORB_init(argc,argv,"omniORB3");<BR>boa =3D=20
orb-&gt;BOA_init(argc,argv,"omniORB3_BOA");</FONT></SPAN></DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial size=3D2>in =
this case the=20
settings (ORBInitialHost)&nbsp;from /etc/omniORB.cfg are used. But I =
sometimes=20
want to connect to other hosts, different to this=20
ORBInitialHost.</FONT></SPAN></DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial size=3D2>I =
tried to call the=20
client with "gps_status_transfer_client -ORBServerName xxx" but then I =
just got=20
"IOT/Abort trap".</FONT></SPAN></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D453212614-02012003></SPAN><SPAN=20
class=3D453212614-02012003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial size=3D2>How =
can acces=20
servers on other hosts ?</FONT></SPAN></DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial size=3D2>kind=20
regards</FONT></SPAN></DIV>
<DIV><SPAN class=3D453212614-02012003><FONT face=3DArial =
size=3D2>gerhard=20
grossauer</FONT></SPAN></DIV></DIV></BODY></HTML>

------=_NextPart_000_000A_01C2B27D.ADFFE500--