[freetds] timeout

Michael Peppler mpeppler at peppler.org
Tue Jun 1 01:56:28 EDT 2004


On Tue, 2004-06-01 at 07:36, James K. Lowden wrote:
> I thought I'd try to implement dbsettime().  It's not simple, for a few
> reasons.  One, I'm not all that familiar with network programming a la
> Unix.  Two, it doesn't take a dbproc as an argument: the documentation
> says 
> 
> 	"dbsettime can be called at any time during the application--before or
> after a call to dbopen. It takes effect immediately upon being called."  
> 
> Because we maintain per-connection timeouts (in TDSSOCKET), that implies
> that dbsettime() has to:

<snip>

FYI - CTlib handles timeouts at the CS_CONTEXT level, so the issue is
generic to both DBlib and CTlib, and *should* therefore probably be
handled in libtds in the FreeTDS implementation.

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler at peppler.org                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html





More information about the FreeTDS mailing list