开发者

iPhone Peer-to-Peer Connectivity Support in Titanium

开发者 https://www.devze.com 2023-01-05 20:26 出处:网络
Is it possible to implemen开发者_JAVA技巧t peer-to-peer connectivity with Titanium Mobile for the iPhone?Of course! You can use the Bonjour service and browser to host and connect to another user in y

Is it possible to implemen开发者_JAVA技巧t peer-to-peer connectivity with Titanium Mobile for the iPhone?


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号