new

fun new(baseSocket: DatagramBased, certificate: TlsCertificate? = null): <Error class: unknown class><DtlsServerConnection>

Creates a new #GDtlsServerConnection wrapping @base_socket.

Return

the new #GDtlsServerConnection, or null on error

Since

2.48

Parameters

baseSocket

the #GDatagramBased to wrap

certificate

the default server certificate, or null