问题
I have developed the ipad app which displays images and other product details from sqlite db. I have also developed .net based windows application which resides on Windows xp pc. This application generates data in sqlite db and also map each record with related images. This flow is working fine till now with itunes filesharing feature enabled. So the user copy sqlite db and images(around 2-3 gb) to iPad through itunes file sharing.
Recently I came across Bonjour service which is used to communicate in local network.
I was wondering is it possible that my .net based application creates Bonjour server and keeps the sqlite db & images files in some folder and ios devices can directly read from that over wifi and get files when requested?
Please suggest if using Bonjour services will be good approach and any sample tutorial to start with.
Thanks
回答1:
Bonjour can help you to find devices on the local network.
Then you must develop your own transfer protocol or use for example CocoaAsyncSocket for start.
回答2:
After really really hard searching... found something worth using or to be worked upon.. http://syncdocs.sourceforge.net/index.php.
It uses Bonjour service to discover and further send/receive files.
来源:https://stackoverflow.com/questions/10365026/ios-file-sharing-sync-to-devices-from-mac-pc