Skip to content

Commit 5d170f2

Browse files
author
Seppo Takalo
committed
Clarify that TLSSocket should not be reopened.
1 parent 6192ed1 commit 5d170f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

features/netsocket/TLSSocket.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ class TLSSocket : public TLSSocketWrapper {
6767
* network interface. Not needed if stack is passed to the
6868
* socket's constructor.
6969
*
70+
* @note TLSSocket cannot be reopened after closing. It should be destructed to
71+
* clear internal TLS memory structures.
72+
*
7073
* @param stack Network stack as target for socket
7174
* @return 0 on success, negative error code on failure
7275
*/

0 commit comments

Comments
 (0)