blob: a1de895ced10c386f91b0af32482345b962cec9c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "socket.h"
#include "socket_spec.h"
namespace vespalib {
std::unique_ptr<SimpleSocket>
SimpleSocket::connect(const SocketSpec &spec)
{
return std::make_unique<SimpleSocket>(spec.client_address().connect());
}
} // namespace vespalib
|