NSHost and NSOutputStream question
NSHost and NSOutputStream question
- Subject: NSHost and NSOutputStream question
- From: Luca Re Garbagnati <email@hidden>
- Date: Wed, 25 May 2005 15:25:36 +0200
Hi all,
I am working on a socket connections software, developed using NSInputStream and NSOutputStream using OS X 10.3.9.
NSHost question:
when I try to get the host handle with [NSHost hostWithName:serverHostName], rather often I get a spinning wheel cursor for about 2-3 seconds, like it is stuck, then it goes on and the host is correctly returned. Is there a way to avoid the spinning cursor? Is it a locking call?
NSOutputStream question:
I just upgraded to Tiger yesterday evening, updated it to 10.4.1, and recompiled my software; tried it out and now I get the spinning wheel cursor even when I do [outputStream write:[messageData bytes] maxLength:[messageData length]];
Please notice I didn't get any spinning cursor on this kind of call using OS X 10.3.9.
Has there been any modification to the socket calls under Tiger? Is there a way to avoid the spinning cursor?
If you need that particular snippet of code please let me know
Thanks in advance for your help.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden