views:

49

answers:

2

How would I send a message to an App on my mac (which I develop) from my iPhone via WiFi? This message would then make something happen in the Mac App.

This is just a fun app for myself so it doesn't need any security like SSL.

A: 

Use TCP to create a connection. Here's a tutorial: http://dev.im.ethz.ch/wiki/Socket_communication_on_the_iPhone

But TCP is extremely common protocol, so on the Mac side you can probably just read up on TCP sockets and be fine.

Timothy Baldridge