Post

Replies

Boosts

Views

Activity

Reply to NWConnection how to force ipv4 ?
How exactly would I set the desired IP protocol version on a connection? I followed the link to find NWProtocolIP.Options.Version which is an enum having v4 as one of its cases. But for the life of me I can't figure out how to pass this as an option. I tried lots of things with NWParameters and so on. The documentation does not really help. Could you please provide a working code fragment and explain it? I think it would also be "educational" to understand how the Apple frameworks expect the various parameters and options specified - I am talking to you, eskimo1 😉 Thanks in advance, Giulio
Nov ’21