Boost logo

Boost Users :

Subject: [Boost-users] Reconnecting a SSL socket correctly
From: David Demelier (markand_at_[hidden])
Date: 2017-10-18 11:26:25


I'm trying to reconnect a SSL socket (using ssl::stream with tcp::socket) that has been closed only remotely. It looks like a shutdown on my client causes "stream truncated" error so I have no idea how can I connect my client socket again.

I was thinking of just creating a new instance but the stream class is not copyable.

Do you have any recommandations?



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at