DtlsServerConnection.new_

Creates a new #GDtlsServerConnection wrapping base_socket.

Parameters

baseSocket gio.datagram_based.DatagramBased

the #GDatagramBased to wrap

certificate gio.tls_certificate.TlsCertificate

the default server certificate, or null

Return Value

Type: gio.dtls_server_connection.DtlsServerConnection

the new #GDtlsServerConnection, or null on error