basic_stream connects are members

This commit is contained in:
Vinnie Falco
2019-02-19 16:27:27 -08:00
parent 0ad7390e94
commit c5b655c954
17 changed files with 832 additions and 916 deletions
@@ -80,7 +80,7 @@ int main(int argc, char** argv)
auto const results = resolver.resolve(host, port);
// Make the connection on the IP address we get from a lookup
beast::connect(beast::get_lowest_layer(stream), results);
beast::get_lowest_layer(stream).connect(results);
// Perform the SSL handshake
stream.handshake(ssl::stream_base::client);