python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Is it possible to use an asio ssl stream class to alternate between encrypted and clear traffic?
I am writing a client server application using the standalone version of asio.
I would like to use the same tcp socket for ssl and non ssl traffic.
Say I have a variable m_socket of type asio::ssl::st...
Fabio
Votes: 0
Answers: 0
Sending and receiving UDP using the same port does not work with the asio library?
I'm trying to send and receive UDP packets through the same endpoint. As far as I know this should be possible. But I can not get it to work with the asio library (version 1.20.0).
This is what I do:
...
simmania
Votes: 0
Answers: 0
Asio reading stream_file asynchronously fails with coroutines and alternatives
I am using Boost.Asio 1.78 and I cannot use file_stream::async_read_some with any method and make it work in Asio.
For co_await, it throws a 22, Invalid argument and for any alternative method, it is ...

Germán Diago
Votes: 0
Answers: 1