16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 11:19:19 +02:00

network changes

This commit is contained in:
milek7
2019-04-03 01:28:46 +02:00
parent 1b5c3ef306
commit 4344ec192a
5 changed files with 8 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ network::tcp::connection::connection(asio::io_context &io_ctx, bool client, size
network::tcp::connection::~connection()
{
m_socket.shutdown(m_socket.shutdown_both);
m_socket.close();
}