#include "UT_API.h"
#include "UT_IpAddress.h"
#include <vector>
#include <limits>
Go to the source code of this file.
#define UT_SUPPORT_SENDFILE |
template<typename CompletionToken >
auto UTasyncSendfile |
( |
ASIO_TCPSocket & |
socket, |
|
|
int |
fd, |
|
|
off_t |
offset, |
|
|
std::size_t |
size, |
|
|
CompletionToken && |
token |
|
) |
| -> typename hboost::asio::async_result<
typename std::decay<CompletionToken>::type,
void(hboost::system::error_code, std::size_t)>::return_type
|
Async composed function to use the system sendfile call. The completion token is only called if the operation is completely finished or an error of some kind has occurred.
Definition at line 147 of file UT_BoostAsioExt.h.
UT_IpAddress UTconvertIPAddressType |
( |
hboost::asio::ip::address & |
from | ) |
|
|
inline |