Clarify that TLSSocket should not be reopened.

pull/8659/head
Seppo Takalo 2018-11-16 13:52:24 +02:00
parent 6192ed1480
commit 5d170f2b3e
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ public:
* network interface. Not needed if stack is passed to the
* socket's constructor.
*
* @note TLSSocket cannot be reopened after closing. It should be destructed to
* clear internal TLS memory structures.
*
* @param stack Network stack as target for socket
* @return 0 on success, negative error code on failure
*/