simplify socket interface

This commit is contained in:
Benjamin Sergeant
2020-01-12 22:30:16 -08:00
parent 2a954b5b5b
commit 4f3f1f3e4c
7 changed files with 27 additions and 74 deletions

View File

@ -629,11 +629,6 @@ namespace ix
}
}
ssize_t SocketOpenSSL::send(const std::string& buffer)
{
return send((char*) &buffer[0], buffer.size());
}
ssize_t SocketOpenSSL::recv(void* buf, size_t nbyte)
{
while (true)