title: how to send data from iphone over wifi to application, to print message
body: <p>i would like to know how to do the following:</p>
  
  <p><strong>step 1:</strong> how to send the following string from the iphone to a mac computer via WIFI when a user presses a button.</p>
  
  <p>string to be sent: "hello".</p>
  
  <p><strong>step2:</strong> how to receive that string with an application i would have to create. it will be very simple. it will have no interface, except it will just print out the message.</p>
  
  <p>How do i achieve something like this. I've never sent a signal over WIFI with the iphone programming. Can someone guide me please?</p>