On Jul 24, 2014, at 1:05 PM, Alex Zavatone <z...@mac.com> wrote: > - (void)stream:(NSStream *)theStream handleEvent:(NSStreamEvent) streamEvent, > > I'll log streamEvent and in the case of 4, which is is supposed to be > typdefed to NSStreamEventEndEncountered, it's never trapped at all.
NSStreamEventEndEncountered is not supposed to be equal to 4. It's equal to 1UL << 4 (as you noted) which is 16. If you're getting 4, that's NSStreamEventHasSpaceAvailable. Regards, Ken _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com