posted on Wednesday, August 03, 2011 - 03:48 am
I'm using OpenDDS and have a port question. How does the publisher know what port to send to, or what port the subscriber is accepting from?
Below is a config file for my publisher, and I was expecting data to be sent to port 52000 on the remote machine, but I run a netstat and don't see 52000 even listining when I run the subscriber.
I'm trying to send my data to a proxy server that will relay this to the remote host, but not sure how to configure this type of port control yet.
--- # This "common" section configures the data in Service_Participant. [common]
# Debug Level DCPSDebugLevel=0
# IOR of DCPSInfoRepo process. DCPSInfoRepo=corbaloc::192.168.100.40:12345/DCPSInfoRepo
# Configuration for a specific TransportImpl object. The section name # has the "transport_impl_" as prefix and appeneds with the transport id # which is an integer. The integer must match the transport_id integer # used in the code. [transport_impl_1] transport_type=udp
# The local endpoint with host:port format (e.g. localhost:4444). # Without specifying local_address or without specifying port number in # local_address(e.g. localhost, the OS will pick a random port. # This would avoid the impact of using a port currently used by other # applications. local_address=192.168.100.41:52000