Code refactoring

This commit is contained in:
Cloaked9000
2016-12-15 14:57:01 +00:00
parent 14fccb84c9
commit 69d183ed18
12 changed files with 294 additions and 204 deletions
+3 -2
View File
@@ -8,7 +8,8 @@
namespace fr
{
SSLSocket::SSLSocket()
SSLSocket::SSLSocket() noexcept
: recv_buffer(new char[RECV_CHUNK_SIZE])
{
int error = 0;
const char *pers = "ssl_client1";
@@ -34,7 +35,7 @@ namespace fr
}
}
SSLSocket::~SSLSocket()
SSLSocket::~SSLSocket() noexcept
{
//Close connection if active
close();