NSFileHandle, socket and NSNetService
NSFileHandle, socket and NSNetService
- Subject: NSFileHandle, socket and NSNetService
- From: Guillaume Rager <email@hidden>
- Date: Mon, 30 Jun 2003 16:23:09 -0700
- Organization: GumiTech
Hi list,
i'm playing with NSNetService, sockets thanks to the PictureSharing example provided by Apple. I change this example to send an NSArchive data instead of a picture, but usually, my application is blocked by the reading socket which is combined with a NSFileHandle. The main thread is running and takes all the CPU. Sometimes i've got this exception, but i dont really know what does it mean
NSInvalidArgumentException, *** -[NSConcreteFileHandle objectAtIndex:]: selector not recognized
So, if someone has an experience with the same problem and maybe has a solution to send data via NSFileHandle and socket, i would be happy :)
Thanks a lot.
Guillaume
-----
GUMITECH - R&D Unit - La Rochelle (France)
http://www.gumitech.com
"Chaud cocoa, chaud chocolat !!!"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.