Answer the question
In order to leave comments, you need to log in
How to find IP address of Smart TV in Wi-Fi network on iOS / OS X device?
Good day,
Somehow the other day the Samsung Smart TV remote control was discharged. Instead of buying batteries, I wrote an app in Swift to control my TV over Wi-Fi. Control device (iOS / OS X) and TV in the same Wi-Fi network. I had to manually write the IP address of the TV to connect. I want to do an automatic network scan to find all the TVs in the apartment.
Here is an example , but I have no idea how it is implemented.
Not to ping every address...
Sincerely,
Alexander.
Answer the question
In order to leave comments, you need to log in
Hardcore) But in essence, you need to find out at least which ports are open on the TV, and then inside your network, first determine the available hosts, and then try to check the ports open on them through the same sockets. Or maybe the TV has a built-in web server? Then you can go to it.
In general, we take nmap, look at what is running on the TV and then try to connect from the iPhone
Instead of buying batteries, I wrote an app in Swift to control my TV over Wi-Fi.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question