Merge branch 'development' into LTS_development

This commit is contained in:
Thulinma 2021-09-01 11:21:13 +02:00
commit 2f8a702c38
16 changed files with 307 additions and 10 deletions

View file

@ -91,10 +91,10 @@ namespace Socket{
bool iread(Buffer &buffer, int flags = 0); ///< Incremental write call that is compatible with Socket::Buffer.
bool iwrite(std::string &buffer); ///< Write call that is compatible with std::string.
void setBoundAddr();
#ifdef SSL
/// optional extension that uses mbedtls for SSL
protected:
std::string lastErr; ///< Stores last error, if any.
#ifdef SSL
/// optional extension that uses mbedtls for SSL
bool sslConnected;
int ssl_iread(void *buffer, int len, int flags = 0); ///< Incremental read call.
unsigned int ssl_iwrite(const void *buffer, int len); ///< Incremental write call.