DTLSServerTakeConnection Method |
Try to initiate the DTLS handshake with the given udp_peer which must be already connected (see ConnectToHost(String, Int32)).
Note: You must check that the state of the return PacketPeerUDP is , as it is normal that 50% of the new connections will be invalid due to cookie exchange.
Namespace: Godot
public PacketPeerDTLS TakeConnection( PacketPeerUDP udpPeer )
[Missing <param name="udpPeer"/> documentation for "M:Godot.DTLSServer.TakeConnection(Godot.PacketPeerUDP)"]
[Missing <returns> documentation for "M:Godot.DTLSServer.TakeConnection(Godot.PacketPeerUDP)"]