A
A
Alexander2015-02-03 18:50:37
iOS
Alexander, 2015-02-03 18:50:37

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

3 answer(s)
V
Valentin, 2015-02-03
@vvpoloskin

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

A
Alexander Shcherbakov, 2015-02-12
@mkll

Instead of buying batteries, I wrote an app in Swift to control my TV over Wi-Fi.

Side note - such an application has been in the App Store for a long time.
It is to ping, and even to inflict a Portscan.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question