Question

Is it possible to implement peer-to-peer connectivity with Titanium Mobile for the iPhone?

Was it helpful?

Solution

Of course! You can use the Bonjour service and browser to host and connect to another user in your vicinity or local network. You could also do peer-to-peer over the internet by connecting to your own, centralized server using the HTTPClient or TCPSocket to stream data to various clients.

Take a look at the Network module, which houses all of these objects.

OTHER TIPS

As an update to this post and to add to Dawson's answer from several years ago now, there is a recently released Multipeer Module for iOS in Titanium available here https://marketplace.appcelerator.com/apps/8294

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top