Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am using ORBIX 3.0 for C++. I created the Server and the Client appl

Status
Not open for further replies.

OlStar

Programmer
Jul 13, 2000
1
US
I am using ORBIX 3.0 for C++. I created the Server and the Client applications and everything works on one machine. <br>When I am trying to connect to the server that is on different machine I am getting an exception: “Unknown host…”<br><br>Please share your experience on how to connect to a CORBA server located on other machine using ORBIX.<br><br>
 
Here is a check list<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To connect to the server on a different machine .. <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.&nbsp;&nbsp;&nbsp;If you are connecting using _bind call then you canspecify the host name before the server name to connect to the host<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the call should look like&nbsp;&nbsp;&nbsp;_bind(&quot;host_name&quot;,&quot;servername&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.&nbsp;&nbsp;&nbsp;There is another way to do the above thing which is more flexible.<br>In configuring Orbix they specify the host names&nbsp;&nbsp;to be polled in order to get the server&nbsp;&nbsp;&nbsp;but I don't know how exactly it is done . <br>&nbsp;&nbsp;&nbsp;Let me know if this thing is of any help .....<br><br>Best of luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top