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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to