• 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
Sending archived objects to a child process via NSPipe
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sending archived objects to a child process via NSPipe


  • Subject: Sending archived objects to a child process via NSPipe
  • From: Christian Ziegler <email@hidden>
  • Date: Thu, 14 Jan 2010 20:11:58 +0100

Hi all!

It is probably simple, but I can't figure it out atm. I  want to send an archived object through an NSPipe to a child process. As long as there is only a single object in the pipe at a given time the receiver can unarchive the object properly. However, once I send another object to the pipe, unarchiving raises the error "uncomprehensible archive". I played around with all three read methods but nothing worked. How can I distinguish between several objects in the pipe? Maybe I can write an EOF indicator to the pipe somehow?

Cheers,
Chris
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Sending archived objects to a child process via NSPipe
      • From: "Stephen J. Butler" <email@hidden>
  • Prev by Date: Core Video CIFilters/ playback / compression suggestions?
  • Next by Date: Re: Sending archived objects to a child process via NSPipe
  • Previous by thread: Re: Core Video CIFilters/ playback / compression suggestions?
  • Next by thread: Re: Sending archived objects to a child process via NSPipe
  • Index(es):
    • Date
    • Thread