Tcp OpenDDS参与者无法发现彼此
因此,我尝试使用OpenDDS-3.12进行通信。我想与位于其他WAN的其他两台主机通信。但是,参与者无法发现彼此。我怎样才能解决这个问题 以下是我的沟通环境: 我有两位主人。主机A和主机B是我的DestktopUbuntu 16.04。另外,两台主机的公共IP地址可见并禁用防火墙。我已经通过telnet命令检查了特定端口号是否可用 我使用了OpenDDS-3.12和$OpenDDS_HOME/tests/DCPS/Messenger的示例 在HostA中,启用Tcp OpenDDS参与者无法发现彼此,tcp,data-distribution-service,opendds,Tcp,Data Distribution Service,Opendds,因此,我尝试使用OpenDDS-3.12进行通信。我想与位于其他WAN的其他两台主机通信。但是,参与者无法发现彼此。我怎样才能解决这个问题 以下是我的沟通环境: 我有两位主人。主机A和主机B是我的DestktopUbuntu 16.04。另外,两台主机的公共IP地址可见并禁用防火墙。我已经通过telnet命令检查了特定端口号是否可用 我使用了OpenDDS-3.12和$OpenDDS_HOME/tests/DCPS/Messenger的示例 在HostA中,启用 $ DCPSInfoRepo -
$ DCPSInfoRepo -ORBListenEndpoints iiop://:12345
用户操作如下:
$ ./subscriber -DCPSInfoRepo <HostA's IP>:12345 -DCPSConfigFile sub_multicast.ini
$ ./publisher -DCPSInfoRepo <HostA's IP>:12345 -DCPSConfigFile pub_multicast.ini
在HostB中,
目录相同,publisher的操作方式如下:
$ ./subscriber -DCPSInfoRepo <HostA's IP>:12345 -DCPSConfigFile sub_multicast.ini
$ ./publisher -DCPSInfoRepo <HostA's IP>:12345 -DCPSConfigFile pub_multicast.ini
发布者在此处返回错误消息:
# ./publisher -DCPSInfoRepo <HostA's IP>:12345 -DCPSConfigFile pub_multicast.ini
Starting publisher
(8921|139698127107904) NOTICE: using DCPSInfoRepo value from command option (overrides value if it's in config file).
Starting publisher with 1 args
Reliable DataWriter
Creating Writer
Starting Writer
(8921|139697959323392) WARNING: SynWatchdog[transport=3]::on_timeout: timed out waiting on remote peer: 0x30c5d67200000007 local: 0x30c5d67200000005
发现其他每个WAN主机的正确配置是什么
希望您能帮助我。对发布者和订阅者都使用rtps_uni.ini