You can set a timer and use the delegate on your NSInputStream you pass into init. When the NSStreamEventOpenCompleted is received you can cancel your timer and continue otherwise close and handle accordingly. If you would like to submit a patch for this please see http://thrift.apache.org/docs/HowToContribute/ or please file a ticket for it to be added

-Jake

https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSStreamDelegate_Protocol/Reference/Reference.html



January 6, 2013 1:04 PM
Hi,
Can anyone tell me how to customize RPC timeout on cocoa client socket
transport side?
Cheers

Reply via email to