DDS communication on two m/cs ? PreviousNext
Data Distribution Service (DDS) Forum > DDS FAQ >
Message/Author
Next message pankaj Bhardwaj  posted on Thursday, October 16, 2008 - 06:01 am
I want to communicate between two m/c on same network using DDS.

I have installed DDS on both m/cs.
Now i want to run publisher on one m/c and subscriber on other m/c.

I am trying with test.$DDS_root/DDS/tests/DCPS/Prst_delayed_subscriber

suppose

IP Address of m/c 1 : 192.168.13.121 -> publisher
Ip Address of m/c 2 : 192.168.13.168 -> subscriber

There are 3 things running while making communication through openDDS on single m/c.

1) InfoRepo
2) Publisher
3) Subscriber

Now suppose I want to have communication between two machines. I want
message published on one m/c by the publisher and to read the message by
the subscriber on the other m/c.

what will be the tranport configuration in sub.ini and pub.ini

1) Do I need to have the Info Repo running on both the m/c?

What will be the content of the pub.ini and sub.ini.

2) How can we run the publisher and subscriber on the self specified port?
pls help ...

Pankaj Bhardwaj
Next message Amit Kaushik  posted on Saturday, September 19, 2009 - 05:35 am
Hi,

I am new to DDS.

I wanted to try out some of the examples given along with Opensplice dds.
I am using the community edition of opensplice dds.

I am trying to run publisher on one machine and subscriber on another.

I have two machines configured with openspilce dds.
Both on LAN.

I tried executing the PinpPong example.

I executed Pong on one of the machine and Ping on another (with matching Read & Write partitions).

It is not working out and i am getting error on the machine where I am executing ping application. 'PING Failed : Timed out'

I read some earlier posts explaining about the networking service of dds and the default settings in the config file.

I assumed the dds will automatically find the other running dds infrastructures on network. Is this assumption incorrect?

Please let me know where I am going wrong

Thanks in advance

Regards

Amit
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action: