forked from sdr/gr-osmosdr
58d95b5164
and /etc/gai.conf is not configured to prefer IPv4 hosts. The current logic handling the output of getaddrinfo() is flawed in that it only ever attempts to connect() to the first address returned. This is a problem for both round-robin and dual-stack hosts. Furthermore, rtl_tcp_source_c::rtl_tcp_source_c() assumes a colon in the device string is a port number. This prevents the use of raw IPv6 addresses. The function will need to be taught how to handle IPv6 addresses contained within square brackets, e.g. "rtl_tcp=[2001:db8::1]:1234". Therefore further work is required to improve the handling of multiple addresses, and also device strings containing raw IPv6 addresses. Signed-off-by: Jeremy Visser <jeremy@visser.name> |
||
---|---|---|
.. | ||
airspy | ||
bladerf | ||
fcd | ||
file | ||
hackrf | ||
miri | ||
osmosdr | ||
rfspace | ||
rtl | ||
rtl_tcp | ||
uhd | ||
CMakeLists.txt | ||
arg_helpers.h | ||
config.h.in | ||
device.cc | ||
gnuradio-osmosdr.rc.in | ||
ranges.cc | ||
sink_iface.h | ||
sink_impl.cc | ||
sink_impl.h | ||
source_iface.h | ||
source_impl.cc | ||
source_impl.h |