🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3706

Re: a IdTCPClient solution

#3706
From: Roberto Zais
Date: Sat, 23 Jul 2005 11:06
24 lines
1791 bytes
Thank you very much for your answer, Remy

Roberto

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> ha scritto nel messaggio
news:42e1750b$1@newsgroups.borland.com...
>
> "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: <42e22287@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42e010be$1@newsgroups.borland.com> <42e02116@newsgroups.borland.com> <42e0c5b2@newsgroups.borland.com> <42e12b6b$1@newsgroups.borland.com> <42e165a4@newsgroups.borland.com> <42e1750b$1@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: "Roberto Zais" <rzaiss@tiscali.it>
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> <42e1750b$1@newsgroups.borland.com>
Subject: Re: a IdTCPClient solution
Date: Sat, 23 Jul 2005 13:06:01 +0200
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
NNTP-Posting-Host: 212.171.10.241
Message-ID: <42e22287@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1122116231 212.171.10.241 (23 Jul 2005 03:57:11 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail