Click or drag to resize

NetworkedMultiplayerENetUseDtls Property

When enabled, the client or server created by this peer, will use PacketPeerDTLS instead of raw UDP sockets for communicating with the remote peer. This will make the communication encrypted with DTLS at the cost of higher resource usage and potentially larger packet size.

Note: When creating a DTLS server, make sure you setup the key/certificate pair via SetDtlsKey(CryptoKey) and SetDtlsCertificate(X509Certificate). For DTLS clients, have a look at the DtlsVerify option, and configure the certificate accordingly via SetDtlsCertificate(X509Certificate).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool UseDtls { get; set; }

Property Value

Type: Boolean
See Also