Post

Replies

Boosts

Views

Activity

Comment on Issue implementing the Connection with TLS/SSL method from TCP method using swift5.
Thanks for your suggestion, I have tried it before the when I added the TLS Options to NWParameters, the Client IP is down immediately. TCP options was still fine let tlsOptions = NWProtocolTLS.Options() let tlsParams = NWParameters(tls: tlsOptions, tcp: .init()) Btw, Unless I used the host name : "wss:X.X.X.X", sec_protocol_options_set_verify_block is never called.
Jun ’23