 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Online News Guest
|
Posted: Thu Apr 29, 2004 3:35 pm Post subject: How do I write to a database in a TIdTCPServer, TIdCommandHa |
|
|
Hi,
I've written a client server/database application that works beautifully
with a single client. Unfortunately, when another client connects, the
server freezes after a few requests. Here's how it's set up:
- Server event (Handler) fires when a client sends a command.
- A database connection is obtained from a pool of connections (done within
a critical section)
- The database is queried <--- This is where the problem occurs!!!
- The database connection is released back to the pool of connections
The application gets stuck in "IdServerIOHandlerSocket", line 50:
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|