DtlsServerConnection

Added in version 2.48.

class DtlsServerConnection(*args, **kwargs)

GDtlsServerConnection is the server-side subclass of DtlsConnection, representing a server-side DTLS connection.

Methods

class DtlsServerConnection
new(base_socket: DatagramBased, certificate: TlsCertificate | None = None) DtlsServerConnection

Creates a new GDtlsServerConnection wrapping base_socket.

Added in version 2.48.

Parameters:
  • base_socket – the DatagramBased to wrap

  • certificate – the default server certificate, or None

Properties

class DtlsServerConnection
props.authentication_mode: TlsAuthenticationMode

The type of the None singleton.

Added in version 2.48.