title: iOS simple socket communication
body: <p>I have socket server in Java and now I need simple TCP socket in my iOS app that will:</p>
  
  <ul>
  <li>Open socket connection</li>
  <li>Be able to send and recieve messages</li>
  <li>Close connection</li>
  </ul>
  
  <p>So, only basic stuff... I need simplest solution possible.</p>
  
  <p>I found few solutions, but none seem to work for me. If you could point me in right direction I will be very grateful. I need code with instructions.</p>
  
  <p>Thanks!</p>