agent: Use getaddrinfo() to parse addresses from strings
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 4 Jul 2014 10:50:29 +0000 (11:50 +0100)
committerOlivier Crête <olivier.crete@collabora.com>
Mon, 7 Jul 2014 23:39:22 +0000 (19:39 -0400)
commit839f9e3f10b992749f29fc548f7e67b5552b6399
treeb449bc5a5e39a7526747732444d47f843b245a02
parent9a622300e88f7c439773fc385c98051796ac67cf
agent: Use getaddrinfo() to parse addresses from strings

Rather than using inet_pton(), which doesn’t support IPv6 link-local
scope IDs, use getaddrinfo(). This is supported on all platforms
(POSIX.1-2001, and Windows winsock).
agent/address.c