OpenDDS的对等发现模式中,可以采用组播或单播方式进行发现和基于主题的DataReader和DataWriter的匹配,下面是一个简单的配置样例:
[common]
DCPSGlobalTransportConfig=$file
ORBDebugLevel=0
DCPSDebugLevel=3
DCPSTransportDebugLevel=0
ORBLogFile=publisher.log
[domain/2]
DiscoveryConfig=fast_rtps
[rtps_discovery/fast_rtps]
ResendPeriod=10
InteropMulticastOverride=239.255.0.11
SpdpSendAddrs=192.168.102.1:7910
##PB=30000
##DX=0
##D1=0
SedpMulticast=0
SedpLocalAddress=192.168.102.1:
TTL=20
[transport/the_rtps_transport]
transport_type=rtps_udp
use_multicast=0
local_address=192.168.179.1:
ttl=20
简要说明