get_protocol_version


Description:

[ Version ( since = "2.70" ) ]
public TlsProtocolVersion get_protocol_version ()

Returns the current DTLS protocol version, which may be g_tls_protocol_version_unknown if the connection has not handshaked, or has been closed, or if the TLS backend has implemented a protocol version that is not a recognized TlsProtocolVersion.

Parameters:

this

a GDTlsConnection

Returns:

The current DTLS protocol version