On May 19, 2008, at 8:07 PM, John MacMullin wrote:
The error returned is: [ostream streamError]:
NSError "POSIX error: Broken pipe" Domain=NSPOSIXErrorDomain Code=32

I have looked at the stream error docs in NSStream and this error is not even reference.

Any ideas on what this means and how I fix it would be greatly appreciated.

One of the BSD/POSIX routines used by the NSOutputStream implementation is returning EPIPE.

It's documented in the man pages for the BSD routine in question (write, send, or similar), and also in one central list: http:// developer.apple.com/documentation/Darwin/Reference/ManPages/man2/ intro.2.html

It means that the would-be recipient of the data you're writing has closed their end of the connection. So, you should look at the implementation of the client to figure out why it's closing the connection.

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

This email sent to [EMAIL PROTECTED]

Reply via email to