• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSFileHandle, socket and NSNetService
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Writing Files - Follow up
  • Next by Date: NSWindow/NSPanel UI-violating question
  • Previous by thread: Re: Writing Files - Follow up
  • Index(es):
    • Date
    • Thread