librelist archives

« back to archive

Set the timeout value?

Set the timeout value?

From:
Greg Maletic
Date:
2013-03-20 @ 22:13
Any way to set the timeout value when querying for messages via CTCoreAccount?

Re: [mailcore] Set the timeout value?

From:
Matt Ronge
Date:
2013-03-25 @ 20:40
Here is how to set the timeout for all connections in libetpan:

#import <libetpan/libetpan.h>

// Turn network timeout down to 15 seconds
struct timeval delay = {  15, 0 };
mailstream_network_delay = delay;

Hope that helps,
--
Matt Ronge

iOS App Consultant
Central Atomics Inc.
http://www.centralatomics.com







On Mar 20, 2013, at 5:13 PM, Greg Maletic <greg@panic.com> wrote:

> Any way to set the timeout value when querying for messages via CTCoreAccount?