gr-osmosdr/lib/rtl_tcp
Jeremy Visser 58d95b5164 Allows connecting to IPv6 hosts if an AAAA record is present
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>
2014-08-14 23:44:46 +02:00
..
CMakeLists.txt convert to gnuradio 3.7 interface 2013-05-29 22:34:40 +02:00
rtl_tcp_source_c.cc device: implement "nofake" hint to exclude dummy devices from discovery 2013-12-10 16:59:01 +01:00
rtl_tcp_source_c.h device: implement "nofake" hint to exclude dummy devices from discovery 2013-12-10 16:59:01 +01:00
rtl_tcp_source_f.cc Allows connecting to IPv6 hosts if an AAAA record is present 2014-08-14 23:44:46 +02:00
rtl_tcp_source_f.h rtl: add R828D tuner 2013-11-04 21:00:08 +01:00