Re: [Qemu-devel] [PATCH 08/15] sheepdog: Use SocketAddress and socket_connect()

2017-03-03 Thread Kevin Wolf
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 o

[Qemu-devel] [PATCH 08/15] sheepdog: Use SocketAddress and socket_connect()

2017-03-02 Thread Markus Armbruster
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()