TLS Connection? Function
- Updated2025-07-30
- 1 minute(s) read
Detects whether a TCP connection is encrypted with Transport Layer Security (TLS).

Inputs/Outputs
TCP connection
—
TCP connection specifies the network connection reference that uniquely identifies the TCP connection.
TLS?
—
TLS? returns TRUE when TCP connection is encrypted with TLS; returns FALSE when TCP connection is closed, invalid, or is not encrypted with TLS. |
Note LabVIEW may close TCP connection of its own accord if an error occurs during Start TLS or Accept TLS.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Data Communication\Protocols\TLS\TLS Client and Server with Self-Signed Server Certificate.vi
TCP connection
—
TLS?
—