Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AsyncSockets connection timeout



Hi to all,

I'm using Async sockets class and I have a question about the first connection method connectToHost: onPort: .
I know that I can set a custom timeout when I read or write data... but sometimes the first connection takes several seconds, and I would like to set the connection timeout shorter (about 10 seconds).
Is there any way to do it?
I think Async sockets use the system settings, but don't know how to change it.


Thank you all for support
Yorh

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

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 © 2007 Apple Inc. All rights reserved.