Hey guys.
I have added an example code to the API listing that demonstrates how to retrive the device IP and Port using Lua Sockets. The code works on both simulator and device.
You can see the example here :
http://developer.anscamobile.com/reference/index/network
I will be adding more Lua Socket examples and updating the Api to make it more informative as time permits.
Thanks!