iPhone Socket Connection to Processing

I wrote a program that transmits touch data from the iPhone to Processing through a socket connection. You can connect multiple phones to the Processing app. It works very well; there appears to be no lag between the phone and the PC if both are connected to the same router.

Here’s the client code.
And here’s the server code.


  1. Posted June 20, 2011 at 8:35 pm | Permalink

    iYellowTail! nice work rob…can’t wait to play.

  2. Posted July 5, 2011 at 11:32 pm | Permalink

    Dude you helped me so much with this. Thanxks for everything! btw, what processing sketch are you running on the computer?

  3. Posted July 6, 2011 at 8:00 am | Permalink

    Glad to help.

    The second sketch is a modification of Golan Levin’s Yellowtail. Here’s the code:

  4. Yigit
    Posted September 26, 2011 at 12:10 am | Permalink

    Thanxks for everything.But I could not understand,
    where in writing the code in the socketTest.pde
    which application in xcode?
    I am waiting for your help Thanks again.
    have nice day.

Post a Comment

Your email is never published nor shared.

Project Related
Stuff I Like

Add to Google Reader or Homepage