tcp: Add helper functions to lookup hostnames and create sockets.
authorDoug Nazar <nazard@nazar.ca>
Mon, 19 Apr 2021 19:48:18 +0000 (15:48 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 20 Apr 2021 09:49:23 +0000 (09:49 +0000)
commit408b2fa63444fc5489dee0eb26b1938635e80833
tree2594b1d491f1d0ecd0b1259509728d93e7bcc1c3
parent27c392bda354c3264ac4b9c604d5f09552e314e6
tcp: Add helper functions to lookup hostnames and create sockets.

Lookup will now maintain the full list of possible IP address(es).
We can now iterate over all available addresses in case certain
address families (IPv6) are disabled or try connecting to additional
addresses for the clients.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1105>
gst/tcp/gsttcpelements.c
gst/tcp/gsttcpelements.h