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.
Topic:
Programming Languages
SubTopic:
Swift
Tags: