9#include <FMEThirdPartyWarningsDisable.h>
12#include <FMEThirdPartyWarningsRestore.h>
#define ASYNCHRONOUSIO_EXPORT
Abstract base class for an asynchronous channel supporting read and write of binary data.
virtual ~Socket()=default
std::function< void(const ErrorCode &, const std::size_t)> CompletionHandler
virtual bool is_valid() const =0
virtual void async_read(void *buffer, const std::size_t buffer_size, const CompletionHandler &handler)=0
virtual void async_write(const void *buffer, const std::size_t buffer_size, const CompletionHandler &handler)=0
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::system::error_code ErrorCode