I’m on an up to date iPad using Swift 5.7 in the Playgrounds app, creating an app, not a playground, so basically doing Xcode lite.
I’m baffled by the fact NWUDPSession takes no arguments. By the meagre bits and pieces I find online it looks like it used to in older versions of Swift but not anymore. So can anybody please give me the syntax on how to initialize an NWUDPSession so it listens to a specific port. I’ve been trying for about 7 hours now and getting nowhere.
Thanks!
PS: NWListener and NWConnection are a no-go for my needs.
9
0
945