How to have two iPads running Codea communicate to each other?

For like, local multiplayer games, or a shared painting app, etc. How would one do this?

@xThomas Currently, Codea doesn’t offer an easy way to have local communications. There is this chat which discusses it.
https://codea.io/talk/discussion/1263/bluetooth-multiplayer
Pretty much, you’ll have to integrate Game Center or find some way to use it using the http.request, because Codea doesn’t offer Bluetooth. so there isn’t really an easy way as of now

@xThomas - Codea does offer sockets for this, but there are issues with reliability, and you will have to program your own code to deal with lag.

I wrote about sockets here

https://coolcodea.wordpress.com/2015/04/21/211-making-multiplayer-games-part-1/

And there are discussions about sockets on the forum, if you search.

Thanks ignatz

So require('socket'):unpack should release udp?