Article View: borland.public.cppbuilder.internet.socket
Article #3703Re: a IdTCPClient solution
From: Remy Lebeau (TeamB)
Date: Fri, 22 Jul 2005 22:34
Date: Fri, 22 Jul 2005 22:34
15 lines
1494 bytes
1494 bytes
"Roberto Zais" <rzaiss@tiscali.it> wrote in message news:42e165a4@newsgroups.borland.com... > Have you please an answer about this? Actually there > is the risk I close more times the connection . Is it allowed ? You could have just looked at Indy's source code for that answer. Yes, you can call Disconnect() multiple times. If you have multiple threads involved, though, then I suggest you protect access to the connection so that threads do not access it at the same time. Gambit
Technical Details
Message-ID:
<42e1750b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42e010be$1@newsgroups.borland.com> <42e02116@newsgroups.borland.com> <42e0c5b2@newsgroups.borland.com> <42e12b6b$1@newsgroups.borland.com> <42e165a4@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a84606e83349b98f X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <42e010be$1@newsgroups.borland.com> <42e02116@newsgroups.borland.com> <42e0c5b2@newsgroups.borland.com> <42e12b6b$1@newsgroups.borland.com> <42e165a4@newsgroups.borland.com> Subject: Re: a IdTCPClient solution Date: Fri, 22 Jul 2005 15:34:05 -0700 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42e1750b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1122071819 68.69.17.41 (22 Jul 2005 15:36:59 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail