Instance Methodmigueldeicaza.swiftgodot 0.45.0SwiftGodot
takeConnection(udpPeer:)
Try to initiate the DTLS handshake with the given udpPeer
which must be already connected (see connectToHost(_:port:)
).
final func takeConnection(udpPeer: PacketPeerUDP?) -> PacketPeerDTLS?
Other members in extension
Type members
Instance members
func setup(serverOptions: TLSOptions?
) -> GodotError Setup the DTLS server to use the given
serverOptions
. Seeserver(key:certificate:)
.