Article View: borland.public.cppbuilder.internet.socket
Article #5417Re: Close down connections from the server side. Indy.
From: Ulrik Nilsson
Date: Tue, 07 Sep 2004 13:31
Date: Tue, 07 Sep 2004 13:31
66 lines
2759 bytes
2759 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote: > >"Ulrik Nilsson" <di2niul@chl.chalmers.se> wrote in message >news:413d624f$1@newsgroups.borland.com... > >> As you guessed that didn't help me. Maybe I should have told >> you in the first place but I still get the "Terminate Thread Timeout" >> from the server application. > >You never said anything about getting that error before. The only way that >error can occur is if the peer threads are not terminating in a timely >fashion. Given the code you have shown so far, taking into account the >changes I mentioned earlier, that should never be happening. Hmmm... Hi, again! Well this dosen't look good. I just can't see whats wrong in my application so, if you have got the time (or a friend of yours), could you write the client and server code on your machine and then post it here? The specification is very simple. Client: Make a connetion to a server via a button click. Close the connection to the server via a button click. Close the application and the tcp-connection via a button click. Send a text (command) to the server and recieve a text via a button click. A information if the client are connected to the server or not. Server: Start the server via a button click. Close the connections to all clients via a button click. Close the application and all tcp-connections via a button click. Answer the specified command that the client sent and reply. A counter that tells how many current connections there is via a label. Indy version: Indy_9_00_14 Components: TCPCLient and TCPServer Language: C++ If I have missed something, post a reply and ask. Regards Ulrik
Technical Details
Message-ID:
<413db82f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<413cb130$1@newsgroups.borland.com> <413cbe74@newsgroups.borland.com> <413cc343$1@newsgroups.borland.com> <413cd762@newsgroups.borland.com> <413d624f$1@newsgroups.borland.com> <413d758b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,94b92865a961b40 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Ulrik Nilsson" <di2niul@chl.chalmers.se> Sender: "Ulrik Nilsson" <di2niul@chl.chalmers.se> Reply-To: "Ulrik Nilsson" <di2niul@chl.chalmers.se> Subject: Re: Close down connections from the server side. Indy. Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 213.114.98.47 References: <413cb130$1@newsgroups.borland.com> <413cbe74@newsgroups.borland.com> <413cc343$1@newsgroups.borland.com> <413cd762@newsgroups.borland.com> <413d624f$1@newsgroups.borland.com> <413d758b$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <413db82f$1@newsgroups.borland.com> Date: 7 Sep 2004 06:31:27 -0700 X-Trace: newsgroups.borland.com 1094563887 207.105.83.66 (7 Sep 2004 06:31:27 -0700) Lines: 68 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail