Skip to Content.
Sympa Menu

freetds - Re: [freetds] timeout

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] timeout
  • Date: Tue, 01 Jun 2004 07:56:28 +0200

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






Archive powered by MHonArc 2.6.24.

Top of Page