Hi Matt,
I'm implementing a VPN client for the OpenConnect VPN server. The protocol requires creating a TCP connection for the initial handshake and configuration and a secondary UDP connection for sending packets. The client receives an id from the TCP connection and is required to set it as the TLS session id on the UDP connection. The server uses this to associate the two connections as being from the same client.
If there's no way to set the TLS session id using the Network framework, I'm going to have to resort to using OpenSSL and sockets :-(. I'd much rather rely on Apple's DTLS implementation than using a third party which may have bugs and/or security vulnerabilities.
Thank you.