Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
NSStream Operation Timed out issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSStream Operation Timed out issue



Hi all,
I have an cocoa application which used to transfer files to server using the NSStream SSL Socket connection.
For every successful file transaction server will send a response to my application. This is working fine for small files. But when i transfer big files my application throwing an error after 75 seconds and the socket connection also closed.
The error is
Domain=NSPOSIXErrorDomain Code=60 "Operation could not be completed. Operation timed out"

This is exactly happens after 75 seconds from the file transfer starting time.  There is no error If the file transfer takes less than 75 seconds.

How can i fix this time issue? Is there any option to set the time in NSSTream?
Thanks in Advance.


Ramesh.P


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.