nick at easysoft.com
Tue Aug 31 15:35:37 BST 2004
Peter Hamberger wrote:
> I'm searching help, because I'm trying since days to set a connection
> Timeout for unixODBC.
> Im accessing from linux to a MS-Server_DB in Network. Everything works
> fine but not the ConnectionTimeout. If I set with SQLSetConnectAttr it
> hasn't any effect.
> If I connect to Database, push the Networkcable and give a Statement
> with SQLExecDirect the application stay in this function.
Connection timeouts are down to the driver in question,
Normally TCP/IP will take a long time to notice a broken connection, as
there is nothing to send it a packet telling it that it wasn't recieved.
TCP/IP is based on the idea that packets may eventually get there, even
if it takes 30 minutes.
More information about the unixODBC-support