App Sandbox and UDP broadcast

When using the following API, is it expected that the app would require both incoming and outgoing permissions with App Sandbox?

public func sendto(_: Int32, _: UnsafeRawPointer!, _: Int, _: Int32, _: UnsafePointer<sockaddr>!, _: socklen_t) -> Int

Since I'm only sending UDP broadcasts, I would have expected outgoing to be sufficient.

Thanks!

Since I'm only sending UDP broadcasts, I would have expected outgoing to be sufficient.

Does that mean that you tried this and it failed without both entitlements?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

App Sandbox and UDP broadcast
 
 
Q