5
I’m creating an application that uses Websocket to connect two devices to an internal network, but for that to be done, it is necessary for the user to enter the address of the Node js server in a text field for it to be used to create a Websocket connection between the HTML5 application and the Node js Server.
But if it were possible, I would like to eliminate the need to type the address to create this connection, I thought it was impossible at first, in fact I didn’t even consider it at first until I got in touch with Apple’s Keynote application, in this application it is possible to connect two devices on the same network so you can control the slide show with your iPad while your Mac designs the presentation, for example.
In Keynote, to create this connection it is only necessary that the two devices are connected on the same network and using the same application at the same time, without the need to enter any IP, This intrigued me and gave me some hope that the same could be done with Javascript and Node js. I know they possibly use some technology or standard that I don’t have access to, but I’d like to at least know how this was done. Theories that might work theoretically are also welcome.
If there is no answer in two days, I will put a reward here.
– Oralista de Sistemas