Ask a Question related to Mac Programming, Design and Development.
-
Kaydell #1
Timing out connections in Open Transport
Hi,
I'm using Open Transport TCP/IP to implement a database server in OS
9. (I'm working on carbonizing it for OS X). It all works OK except
that if a client connection goes down, the connection is not timed out
by the server.
I think that there should be two levels of timeout. One for
inactivity which is the two hour minimum timeout and another timeout
for when the connection goes down such as when the client computer's
connection is disrupted or when the client computer crashes. This
second time out needs to be much faster than two hours.
If I force-quit the client, I immediately get a T_DISCONNECT event on
the server side, and it is handled correctly.
Is there a way for me to quickly detect that the client is down and to
automatically disconnect it so that it doesn't still show up on my
list of connections on the server and doesn't keep database locks that
other connections may need to use?
Kaydell
Kaydell Guest
-
MX Open Database Connections
Did MX do away with the settings for database connections? We just switched from Oracle 8i to Oracle 9i and have seen some connectivity failures. ... -
MX 6.1 / MySQL 3.23 - Open Connections
We have been noticing that the Client Variables db connections are not closing even when we set timeouts and turn off Connection pooling. I've... -
Does contribute open 2 connections to site?
It would appear that Contribute (3) opens 2 connections to each site, since when I try and connect I receive the error "maximum users (1) already... -
Keeping connections open
I am very new to asp, and I am wondering what is the best way to get around a this problem I use asp to give me a status on a database which is... -
tidy connections left open
Many a page has ADO Connection objects that were opened but never closed. The Connection object allocates its own resources when it is opened. ...



Reply With Quote

