blob: 9920cfb4379d15becc39bc77ff26a49c2c42bc11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef _NETWORKING_ALGORITHMS_CPP_
#define _NETWORKING_ALGORITHMS_CPP_
#pragma once
#include <boost/asio/connect.hpp>
#include <ftp/detail/network_algorithms.hpp>
#include <ftp/handshake_params.hpp>
namespace asio = boost::asio;
inline void ftp::detail::connect_interface(
tcp::socket& socket,
const tcp::resolver::results_type& endpoints,
const handshake_params& params,
error_code& ec
)
{
asio::connect(socket, endpoints, ec);
if (ec)
{
return;
}
}
inline void ftp::detail::handshake_interface(
tcp::socket& socket,
const handshake_params& params,
error_code& ec
)
{
}
#endif
|