We are trying to decide which Lua engine to use for our product. In our product, we will talk to another box using Wifi. In Moai this is easy using the APIs provided, in Gideros there are no API for this.
I like to know,
- if I can know the IP address of the phone using any IP? (I have seen the hack but I need the IP for the WiFi)
- if I can set the IP address of the phone's WIFI using Lua Socket API
Thx, KTC
Comments
http://giderosmobile.com/forum/discussion/1371/gideros-unite-framework-for-multiplayer-mobile-games
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
I'm not aware that LuaSocket would provide such functionality to get list of available devices and to control them separately. And if it's not in LuaSocket than it's not in Gideros.
The way that most of the IP communication works is that each device has to transmit something to indicate it's presence, then and only then can the server detect it's presence. That is how you can get a list of the devices. Now controlling them would be simple as sending commands to these devices and the devices that receive the commands will act based on these commands.
If you are happy to do a little conversion yourself, try AutoLAN from MyDevelopers, I believe it is a free library now you can download the source code and since it is based on Lua/LuaSockets, you can modify it to work with your application.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps