DTLSServer.takeConnection

Try to initiate the DTLS handshake with the given udp_peer which must be already connected (see PacketPeerUDP.connectToHost). Note: You must check that the state of the return PacketPeerUDP is constant PacketPeerDTLS.STATUS_HANDSHAKING, as it is normal that 50% of the new connections will be invalid due to cookie exchange.

struct DTLSServer
@nogc nothrow
takeConnection

Meta