Definition at line 201 of file socks.cpp.
◆ get_buffer()
| boost::asio::const_buffers_1 net::socks::client::write::get_buffer |
( |
client const & | self | ) |
|
|
inlinestaticnoexcept |
Definition at line 205 of file socks.cpp.
206 {
207 return boost::asio::buffer(self.buffer_, self.buffer_size_);
208 }
◆ operator()()
| void net::socks::client::write::operator() |
( |
const boost::system::error_code | error | ) |
|
|
inline |
Definition at line 210 of file socks.cpp.
211 {
213 {
217 else
218 boost::asio::async_write(self.proxy_,
get_buffer(self), self.strand_.wrap(read{std::move(self_)}));
219 }
220 }
client(stream_type::socket &&proxy, socks::version ver)
error
Possible errors with socks communication. Defined in https://www.openssh.com/txt/socks4....
std::shared_ptr< client > self_
static boost::asio::const_buffers_1 get_buffer(client const &self) noexcept
◆ self_
| std::shared_ptr<client> net::socks::client::write::self_ |
The documentation for this struct was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/net/socks.cpp