I am trying to find and connect winform app with android tablets on LAN or WLAN.
I have implemented a tcp server on android, it is listening on port, and waiting requests.
I then tried to implement Winform app that should try to scan network to find this tablet by sending request to this tablet, and checking the response.
I stuck on the second part, how to check the network and send request to this port efficiently? I need to find out the ip of the tablets in order to connect them.
I found this code: NetworkBrowser
but it checks for PCs on the network, it does not show Android tablets.
The first solution that came on my mind is to implement webservice, that will reciever from android and the PC will request periodically and get the IPs of the tablets. still not that efficient solution.