views:

56

answers:

3

Is there any sample that I can use to learn how to transfer text between iPhone and a computer (mac/pc) using bonjour?

A: 

I would take a look at the BLIP protocol. It is a fairly good drop in library that allows you to send messages back and forth.

Marcus S. Zarra
thanks I have tried that one and it's not as problem free as the author would love to offer. Thx though!
amok
I don't remember him claiming it to be problem free but I have been using it in ZSync for quite a while now and it is pretty impressive and easy to implement.
Marcus S. Zarra
+1  A: 

We used AsynchSocket. It was pretty easy to incorporate + good examples of client & server side. AsynchSocket usage

Nava Carmon
+1  A: 

Check out this blog post: http://cocoa-nut.de/?p=27 It has sample code for both iPhone and Mac sides.

iamj4de
Fantastic! Thanks a lot!!
amok