Discussion:
[omniORB] listening on specific port on client side
Pearl Rothman
2011-08-16 20:52:00 UTC
Permalink
Hi,


I am writing a client CORBA application. After I establish a connection to
the server, the server will establish a connection back to my application on
callback port (8101). This port needs to be defined in my ORB and opened
on my end so the server can connect back to it. How can I accomplish this?



Thanks,

Pearl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110816/b0f00cc7/attachment.htm
Duncan Grisby
2011-08-17 18:52:58 UTC
Permalink
Post by Pearl Rothman
I am writing a client CORBA application. After I establish a
connection to the server, the server will establish a connection back
to my application on callback port (8101). This port needs to be
defined in my ORB and opened on my end so the server can connect back
to it. How can I accomplish this?
Give it the option -ORBendPoint giop:tcp::8101

See http://omniorb.sourceforge.net/omni41/omniORB/omniORB008.html#toc42

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Pearl Rothman
2011-08-17 20:06:54 UTC
Permalink
I don't think that is working properly. I definitely cannot telnet to port
8101 with this option set. Is there some sort of omniorb log that I can see
what's going on, or what is the best way to figure out what the issue is?

Thanks so much for your help,
Pearl
Post by Duncan Grisby
Post by Pearl Rothman
I am writing a client CORBA application. After I establish a
connection to the server, the server will establish a connection back
to my application on callback port (8101). This port needs to be
defined in my ORB and opened on my end so the server can connect back
to it. How can I accomplish this?
Give it the option -ORBendPoint giop:tcp::8101
See http://omniorb.sourceforge.net/omni41/omniORB/omniORB008.html#toc42
Cheers,
Duncan.
--
-- Duncan Grisby --
-- http://www.grisby.org --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110817/987ec117/attachment.htm
Pearl Rothman
2011-08-17 20:20:01 UTC
Permalink
Also, which omni libraries do I need? I was only using libomniORB4.so. Maybe
that's the problem?

Thanks,
Pearl
Post by Pearl Rothman
I don't think that is working properly. I definitely cannot telnet to port
8101 with this option set. Is there some sort of omniorb log that I can see
what's going on, or what is the best way to figure out what the issue is?
Thanks so much for your help,
Pearl
Post by Duncan Grisby
Post by Pearl Rothman
I am writing a client CORBA application. After I establish a
connection to the server, the server will establish a connection back
to my application on callback port (8101). This port needs to be
defined in my ORB and opened on my end so the server can connect back
to it. How can I accomplish this?
Give it the option -ORBendPoint giop:tcp::8101
See http://omniorb.sourceforge.net/omni41/omniORB/omniORB008.html#toc42
Cheers,
Duncan.
--
-- Duncan Grisby --
-- http://www.grisby.org --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110817/accea134/attachment.htm
Thomas Lockhart
2011-08-17 20:25:53 UTC
Permalink
Post by Pearl Rothman
I don't think that is working properly. I definitely cannot telnet to
port 8101 with this option set. Is there some sort of omniorb log that
I can see what's going on, or what is the best way to figure out what
the issue is?
Crank up the omniORB debugging level on both ends of your app and you
will be able to see the connection process. And from here on you will
probably need to start posting logs since "not working properly" is not
sufficient detail for folks to help out.

hth

- Tom

Loading...