Post

Replies

Boosts

Views

Activity

Reply to My app is Scanning UDP in iPhone16.x series but not in iPhone 15.x series.
Hello Apple Team, We are using the NWConnection class to establish the UDP connection. We have added NWEndpoint.Host to broadcast UDP connection along with NWEndpoint. port number. Also, we are using a TCP listener port (NWListener) to listen to the UDP broadcast. When we send UDP requests in iOS15.x devices the request is sent successfully but when we try to listen to the response we get a cancelled request. Business requirement: Broadcast the UDP message to the local network Devices will catch the broadcast and process the broadcast message Devices will open TCP connection for iPhones listening to port and respond back What we observed is that we are able to receive the responses in iOS 16.x devices, but not in iOS 15.x devices. One more observation is that in iOS 15.x simulator, we are receiving the response, but not in iPhones. Thanks.
Nov ’23