๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
4 messages
4 total messages Started by Cristian Tue, 17 Jun 2003 07:53
socket connection hungs up
#190
Author: Cristian
Date: Tue, 17 Jun 2003 07:53
6 lines
1236 bytes
Hi:
 I build a multi-tier application that use TSocketConnection components. I
have some problems when i open a clientdataset. when i open the
clientdataset and every is fine, i close it, then i open it again and when i
close it the program hungs up. can anyone get with a problem like this? how
can i fix it? or how can i debug it?
Re: socket connection hungs up
#191
Author: DreamChaser
Date: Wed, 18 Jun 2003 20:49
17 lines
1632 bytes
You say that you are Open()/Close() the DataSet, do you Close() the
TSocketConnection? The Socket may be opening automatically when you Open()
the DataSet, but not Closing automatically.

Jeff.
"Cristian" <cgv@diit.cl> wrote in message
news:3eeec98e$1@newsgroups.borland.com...
> Hi:
>  I build a multi-tier application that use TSocketConnection components. I
> have some problems when i open a clientdataset. when i open the
> clientdataset and every is fine, i close it, then i open it again and when
i
> close it the program hungs up. can anyone get with a problem like this?
how
> can i fix it? or how can i debug it?
>
>
Re: socket connection hungs up
#192
Author: Cristian
Date: Wed, 18 Jun 2003 23:08
29 lines
2127 bytes
yes, the connection open automatically, but when i close the socket
connection then in sometimes the application hungs. if i use dcom connection
then there is no problem. for me this problem is a mistery!! did you know
problems using socket connection with midas? is better to use a dcom
connection than socket?

"DreamChaser" <jkofsky@bellsouth.net> escribi๏ฟฝ en el mensaje
news:3ef0d048@newsgroups.borland.com...
> You say that you are Open()/Close() the DataSet, do you Close() the
> TSocketConnection? The Socket may be opening automatically when you Open()
> the DataSet, but not Closing automatically.
>
> Jeff.
> "Cristian" <cgv@diit.cl> wrote in message
> news:3eeec98e$1@newsgroups.borland.com...
> > Hi:
> >  I build a multi-tier application that use TSocketConnection components.
I
> > have some problems when i open a clientdataset. when i open the
> > clientdataset and every is fine, i close it, then i open it again and
when
> i
> > close it the program hungs up. can anyone get with a problem like this?
> how
> > can i fix it? or how can i debug it?
> >
> >
>
>
Re: socket connection hungs up
#193
Author: DreamChaser
Date: Thu, 19 Jun 2003 10:56
13 lines
1651 bytes
"Cristian" <cgv@diit.cl> wrote in message
news:3ef0f187@newsgroups.borland.com...
> yes, the connection open automatically, but when i close the socket
> connection then in sometimes the application hungs. if i use dcom
connection
> then there is no problem. for me this problem is a mistery!! did you know
> problems using socket connection with midas? is better to use a dcom
> connection than socket?
>
I don't know of anything off-hand. I was just "thinking out loud" what I
would check in same situation. What little I have done with MIDAS has been
with sockets. (DCOM is too M$ for me :D )
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads