title: iPhone SDK send string over wifi
body: <p>I'm trying to add a simple feature to my app, it should simply send a pre-formatted string to another device, very much like WiTap sample code does. It sounds like a very trivial thing to do but I cannot get it to work ;(. How can I modify WiTap to send a string instead of a single int? </p>
  
  <p>Any pointers to good tutorials would be great.</p>
  
  <p>I did look at SimpleNetworkStreams sample, but it went way over my head as I'm only looking to send a string (NSString, char[], don't have a preference) and not a file.</p>
  
  <p>Looked at this example too: <a href="https://stackoverflow.com/questions/694601/how-to-add-data-for-nsoutputstream">How to add data for NSOutputStream?</a> but that did not fully help either.</p>