'How can I find devices using port X in the local network?

There may be one or the other professional in the topic of TCP connections in iOS.

The user of my app can configure and connect a network device in the app. To connect the device, I want to show the user a list of available devices. However, I would only like to display devices with a specific port there.

I really hope that someone can help me.

Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source