'Websockets on Android Unity devices

I am new to websockets, and I have some doubts that I would like you to clarify, but first of all I would like to tell you what is the aim of the project:

I have a server (Android Tablet) that will share its Wifi through Wifi zone. And other devices (Android mobiles) will connect to that Tablet. Throughout the execution, it will be sending messages (strings) between the server and the client.

1.- Would it be possible to make this communication with websockets?

2.- Is it possible in unity to automatically obtain the ip of the server to make an instant connection?

3.- In case the above mentioned is possible, any suggestions?

Thanks and greetings



Solution 1:[1]

Bit late but... My understanding is that you need Unity Pro to get WebSockets support, at least for Android (not sure about iOS). See this thread for more information and a possible alternative solution on the Asset Store.

Sources

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

Source: Stack Overflow

Solution Source
Solution 1 Engineer