|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Connect Timeout
Date: Mar 4 2002 8:37PM
Karsten Spakowski writes:
> Hallo,
>
> I will distribute the same messages on some ASE Server, if one of the
> Server isn“t online,
> the programm should take the next server, without waiting the default
> 60 seconds.
> I have a question regarding timeout with the Sybase::DBlib Modul.
>
> with the DBI Modul I can connect as follows:
>
> $dbh = DBI -> connect("dbi:Sybase:timeout=2", $user, $password)
>
> How can I change the connect timeout with Sybase::DBlib ?
See dbsettime() and dbsetlogintime()
Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler@peppler.org *or* mpeppler@mbay.net
http://www.mbay.net/~mpeppler
International Sybase User Group: http://www.isug.com
|