Thank you for the update.
The app is a small "tester" that I use to simulate multiple devices on my network. The device I'm simulating is a communications radio (Flex Radio 6500). The radio sends a broadcast every second to alert their client software (SmartSDR) to the presence of a radio. I only own one radio so I wrote a small app (in Swift using CocoaAsyncSockets) to generate broadcast messages to make the client software believe that there are multiple radios available on the network. The existing app works fine, CocoaAsyncSockets allows you to enable Broadcast (I'm only using IPv4). I was hoping to eliminate CocoaAsyncSockets and use the Network framework instead.
You suggested "If you're interacting with something that requires broadcast, you might try sending to a subnet broadcast.", how would I tell the Network framework to do that? Would the client expecting a broadcast see that as equivalent? I've been all through the header / documentation files, if you could point me to a setting that would be helpful.
Unfortunately, I can't change the radio's behavior.
Thanks again