title: Create two threads in Objective-C
body: <p>I am very new to Xcode and Objective-C, so I don't really know what I am doing yet! ;-)<br />
  Basically I want to have an IPhone Application that can run possibly two threads, which will later use <code>UDP Sockets</code> to communicate with other Apps.</p>
  <p>I have put functions to react when the <code>start-Thread/stop-Thread</code> Button in the UI are pressed, now I want to fill them with code to actually create and start the threads.</p>
  <ul>
  <li><p>What would be the correct procedure here?</p>
  </li>
  <li><p>Do I need to subclass    <code>NSThread</code>?</p>
  </li>
  <li><p>Where do I implement the code, that the new threads will execute?</p>
  <p>I can't see a run method, or something similar. I suppose that has something to do with the <strong><code>selector</code></strong>, which I don't understand.</p>
  </li>
  </ul>