socket programming using ios
===

hey i have problem to work on socket the method i am using is nsrunloop to get the event handle.
it work but still i want to send\receive data with the help of different nsthread.
but it is not working. i reference my website where i got that nsthread not work with nsrunloop.

so i went another auto native to work on socket with hanging and waiting any thread.. 

can i use [inputStream scheduleInRunLoop:mytempthread.currentRunLoop forMode:NSDefaultRunLoopMode]; instead of this[inputStream scheduleInRunLoop:[NSRunLoop currentRunLoop]forMode:NSDefaultRunLoopMode];
 please solve my problem....