DTLS packet peer. This class represents a DTLS peer connection. It can be used to connect to a DTLS server, and is returned by [method DTLSServer.take_connection]. [b]Note:[/b] When exporting to Android, make sure to enable the [code]INTERNET[/code] permission in the Android export preset before exporting the project or using one-click deploy. Otherwise, network communication of any kind will be blocked by Android. [b]Warning:[/b] TLS certificate revocation and certificate pinning are currently not supported. Revoked certificates are accepted as long as they are otherwise valid. If this is a concern, you may want to use automatically managed certificates with a short validity period. Connects a [param packet_peer] beginning the DTLS handshake using the underlying [PacketPeerUDP] which must be connected (see [method PacketPeerUDP.connect_to_host]). You can optionally specify the [param client_options] to be used while verifying the TLS connections. See [method TLSOptions.client] and [method TLSOptions.client_unsafe]. Disconnects this peer, terminating the DTLS session. Returns the status of the connection. See [enum Status] for values. Poll the connection to check for incoming packets. Call this frequently to update the status and keep the connection working. A status representing a [PacketPeerDTLS] that is disconnected. A status representing a [PacketPeerDTLS] that is currently performing the handshake with a remote peer. A status representing a [PacketPeerDTLS] that is connected to a remote peer. A status representing a [PacketPeerDTLS] in a generic error state. An error status that shows a mismatch in the DTLS certificate domain presented by the host and the domain requested for validation.