开发者

iPhone - Browsing iPhone files through computer

开发者 https://www.devze.com 2022-12-27 10:55 出处:网络
I want to be able to send files from an iPhone app to a computer. What would be the easiest way of doing this?

I want to be able to send files from an iPhone app to a computer. What would be the easiest way of doing this?

I've made simple server client programs before, but in those, the client has always needed to connect to the server before being able to receive messages from it. There is an app for the iPhone called iSimulate, where开发者_运维问答 you put a server on a Mac (the iPhone simulator), and then you use the iSimulate app of an iTouch or iPhone to send touch events to the server. This app does not require you to type in an ip-address. Instead it presents a list of available computers that have this server up and running.

How exactly is this being done? Can a server broadcast a message over a network, w/o anyone being connected to the server? How does that work? How does a client listen for that broadcast?

Here's a video of the app I'm talking about: http://www.youtube.com/watch?v=N3Qpd1ycZh4

alt text http://a1.phobos.apple.com/us/r1000/051/Purple/7b/07/70/mzl.mvwjifyc.320x480-75.jpg


That app may be using Bonjour.


I've seen similar apps use a peer-to-peer Bluetooth connection to exchange files between a iPhone and a desktop.

0

精彩评论

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

关注公众号