|
From: | Kevin Wolf |
Subject: | Re: [Qemu-devel] [PATCH 08/15] sheepdog: Use SocketAddress and socket_connect() |
Date: | Fri, 3 Mar 2017 14:47:10 +0100 |
User-agent: | Mutt/1.5.21 (2010-09-15) |
Am 02.03.2017 um 22:43 hat Markus Armbruster geschrieben: > sd_parse_uri() builds a string from host and port parts for > inet_connect(). inet_connect() parses it into host, port and options. > Whether this gets exactly the same host, port and no options for all > inputs is not obvious. > > Cut out the string middleman and build a SocketAddress for > socket_connect() instead. > > Signed-off-by: Markus Armbruster <address@hidden> Reviewed-by: Kevin Wolf <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |