• 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
NSArchiverArchiveInconsistency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArchiverArchiveInconsistency


  • Subject: NSArchiverArchiveInconsistency
  • From: John MacMullin <email@hidden>
  • Date: Wed, 7 Jul 2010 21:11:52 -0700

I have been using NSStreams and the delegate with TCPServer quite successfully in the past to transmit data between a client and a server.  In other words, the code was working on 10.5 before.  Then I upgraded to 10.6 SDK with a deployment of 10.5.  Everything runs fine between the 10.6 server and 10.6 client.  However, under 10.5 running on an iBook, the client is now failing with an NSArchiverArchiveInconsistency error when I unarchive the data read from the server.  When counting bytes transferred, the 10.5 client is reading almost twice as much data as the server writes.

Has anyone seen anything like this where client-server code once working on 10.5 fails on 10.5 with an NSArchiverArchiveInconsistency error or appears to "double-read" the buffer after upgrading to 10.6?  I realize that this is a pretty general question and without code is a fishing expedition.

But even pan fry would help.

So, if you've seen something like this, please give me an idea of what you did to correct it.  Any ideas would be welcome.

Really frustrated at the moment,

John MacMullin

_______________________________________________

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

  • Prev by Date: setting focus on NSSearchField in status bar menu item
  • Next by Date: Re: iPad: CGPDF... methods and leak/cache
  • Previous by thread: Re: setting focus on NSSearchField in status bar menu item
  • Next by thread: ABPeoplePickerView setSources
  • Index(es):
    • Date
    • Thread