开发者

iPhone data transfer using CFReadStream & CFWriteStream (bonjour)

开发者 https://www.devze.com 2023-02-03 15:47 出处:网络
I am able to send data upto 20 KB from one Mac to another using iPhone Simulat开发者_运维技巧ors successfully.However for data larger than that it is not able to send.Even fragmenting data doesnot wor

I am able to send data upto 20 KB from one Mac to another using iPhone Simulat开发者_运维技巧ors successfully.However for data larger than that it is not able to send.Even fragmenting data doesnot work. Help...


Your question is a bit obscure to be answered adequately. Without any of your code, output, or examples, we don't have a lot to go on.

A great tutorial exists, however, for networking between different Mac/iPhone devices, and is available here:

http://mobileorchard.com/tutorial-networking-and-bonjour-on-iphone/

If you're interested in learning how to properly network two devices, it's a fantastic start. The project provides a lot of great classes that add a thin Objective-C layer on top of the standard C socket functions, and can make your networking headaches go away very quickly.

0

精彩评论

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