.tlscurrentnum R/O Property
Function: |
Indicates which socket, if any, is using TLS encryption. |
Type: |
Byte |
Value Range: |
0 ~ sock.numofsock - 1 or 255, default = 255 (not in use) |
See Also: |
Transport Layer Security (TLS), sock.num, sock.tlsinit, sock.tlsdeinit |
Details
Only a single socket can use TLS encryption at any given time. This read-only property returns 255 whenever TLS is not in use by any socket or the number of the socket using TLS at the moment.