diff --git a/net/adc_netservice_asio.h b/net/adc_netservice_asio.h index 661d00c..db24e1d 100644 --- a/net/adc_netservice_asio.h +++ b/net/adc_netservice_asio.h @@ -186,6 +186,8 @@ public: std::ranges::for_each(msg.template bytesView>(), [&buff](const auto& el) { buff.emplace_back(el); }); + buff = this->toLowLevel(buff); + auto timer = getDeadlineTimer(timeout); // wrapper @@ -360,6 +362,8 @@ protected: }; +/* TLS-STREAM IMPLEMENTATION */ + #ifdef USE_OPENSSL_WITH_ASIO template class AdcNetServiceAsioTls : public InetProtoT @@ -501,6 +505,8 @@ public: std::ranges::for_each(msg.template bytesView>(), [&buff](const auto& el) { buff.emplace_back(el); }); + buff = this->toLowLevel(buff); + auto timer = getDeadlineTimer(timeout); // wrapper