Queries on Messaging over internet with different network

2 posts / 0 new
Last post
Offline
Last seen: 4 years 1 month ago
Joined: 10/12/2020
Posts: 1
Queries on Messaging over internet with different network

Hello, 
I am new to DDS and i just tried the below link examples, i am able to publish and subscribe the message within the local network.

https://community.rti.com/static/documentation/connector/current/api/python/getting_started.html#installing-rti-connector-for-python

I wanted to try exchange messaging over the internet, is there any example code like the above? specific to internet messaging pub/sub?

kindly share the link if any.

Regards

Gopal

 

 

 

Organization:
Howard's picture
Offline
Last seen: 2 days 10 hours ago
Joined: 11/29/2012
Posts: 608

Hi Gopal,

What is your internet connection like between the hosts that you want to communicate?  Are there firewalls?  Is this the public internet?  Are the hosts behind NAT routers?  Is your service provided via a cable model or other physical landline or is it through LTE/4G?  Are you running a VPN between the hosts?

Running a DDS connection over the internet is possible (and is done by lots of systems), but it's usually not the first thing that you try after running helloworld.  I would suggest that you first use the local network to learn as much about DDS as you can to make a decision to use it.  Then after you decide that you are going to use DDS, explore the configuration options needed to connect over the internet.

Depending on your network setup, you many need to use the TCP transport instead of the default UDP.

In any case, you can read about what it takes to run over a wide area network in the users manual here:

https://community.rti.com/static/documentation/connext-dds/6.0.1/doc/manuals/connext_dds/html_files/RTI_ConnextDDS_CoreLibraries_UsersManual/index.htm#UsersManual/WANIntro.htm

https://community.rti.com/static/documentation/connext-dds/6.0.1/doc/manuals/connext_dds/html_files/RTI_ConnextDDS_CoreLibraries_UsersManual/index.htm#UsersManual/PartTCP.htm#parttcp_3522674191_920452%3FTocPath%3DPart%25208%253A%2520RTI%2520TCP%25C2%25A0Transport%7C_____0