RE: Server's IP adress and Port number

"Picco, Dion" <[email protected]> Mon, 8 May 2006 13:04:33 -0400
Newsgroups gmane.comp.corba.orbacus
Message-ID <C7F58A2037A37D4B9212D4F09589B3FA03074186@amereast-ems2.IONAGLOBAL.COM>
This is a multi-part message in MIME format.

--===============13526701821474463==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C672C1.7A7B3ACE"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C672C1.7A7B3ACE
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello Imed,

=20

Have you investigated the CORBA NameService?  This is precisely what it
is designed for and it gives you the flexibility to move your server's
ip/port/etc thus decoupling the client from the server's address.

Cheers.

=20

Dion Picco, Product Manager

IONA Technologies

[email protected]

http://www.iona.com

=20

  _____ =20

From: iMed archipi [mailto:[email protected]]=20
Sent: Thursday, May 04, 2006 6:23 AM
To: [email protected]
Subject: [OB-Users] Server's IP adress and Port number

=20

Hello there,

I'm developping a LAN chat application under Orbacus for java version,
and I would like that the client will connect to the Server without
entering the Server's IP adress or port, and without copying the .ref
file. Because I found three solutions for the client to connect to the
Server:

1- Entering Server's IP address and port so the client will connect with
corbaloc::host:port;
2- "Autodetecting" Server's IP adress and port with
com.ooc.oci.connectorinfo...etc (found in Orbacus User's Guide), but the
problem is that the client have to copy the .ref file to make this
operation works fine;
3- Using URLs, but I don't think that this works in LANs, because I
tried but nothing happens;

So if you have a solution that allows the Client to connect to the
Server WITHOUT ENTERING IP ADRESS OR PORT NUMBER and without COPYING THE
REF FILE just tell me.
And if you can also show me how to fix the port number where the server
is connecting/listening it's would be fine!(because it's not well
explained in Orbacus User's Guide )

Thanks.

Sincerely, Imed.


------_=_NextPart_001_01C672C1.7A7B3ACE
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Hello =
Imed,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Have you investigated the CORBA
NameService?&nbsp; This is precisely what it is designed for and it =
gives you the
flexibility to move your server&#8217;s ip/port/etc thus decoupling the =
client
from the server&#8217;s address.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Cheers.<o:p></o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Dion Picco, Product =
Manager</span></font><font
color=3Dnavy><span style=3D'color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><st1:place w:st=3D"on"><font size=3D2 color=3Dnavy =
face=3DArial><span
 =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>IONA</span></font=
></st1:place><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'> Technologies</span></font><font color=3Dnavy><span =
style=3D'color:
navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><a =
href=3D"mailto:[email protected]">[email protected]</a></span></font>=
<font
color=3Dnavy><span style=3D'color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><a =
href=3D"http://www.iona.com">http://www.iona.com</a><o:p></o:p></span></f=
ont></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> iMed =
archipi
[mailto:[email protected]] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, May 04, =
2006 6:23
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
[email protected]<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [OB-Users] =
Server's IP
adress and Port number</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>Hello
there,<o:p></o:p></span></font></p>

<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>I'm
developping a LAN chat application under Orbacus for java version, and I =
would
like that the client will connect to the Server without entering the =
Server's
IP adress or port, and without copying the .ref file. Because I found =
three
solutions for the client to connect to the =
Server:<o:p></o:p></span></font></p>

<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>1-
Entering Server's IP address and port so the client will connect with
corbaloc::host:port;<br>
2- &quot;Autodetecting&quot; Server's IP adress and port with
com.ooc.oci.connectorinfo...etc (found in Orbacus User's Guide), but the
problem is that the client have to copy the .ref file to make this =
operation
works fine;<br>
3- Using URLs, but I don't think that this works in LANs, because I =
tried but
nothing happens;<o:p></o:p></span></font></p>

<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>So if you
have a solution that allows the Client to connect to the Server WITHOUT
ENTERING IP ADRESS OR PORT NUMBER and without COPYING THE REF FILE just =
tell
me.<br>
And if you can also show me how to fix the port number where the server =
is
connecting/listening it's would be fine!(because it's not well explained =
in
Orbacus User's Guide )<o:p></o:p></span></font></p>

<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>Thanks.<o:p></o:p></span></font></p>

<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>Sincerely,
Imed.<o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>

------_=_NextPart_001_01C672C1.7A7B3ACE--

--===============13526701821474463==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html

--===============13526701821474463==--