Article View: borland.public.cppbuilder.internet.socket
Article #2023Re: Bug? TIdTCPServer does not change Defaultport at runtime
From: Remy Lebeau (TeamB)
Date: Wed, 13 Sep 2006 16:49
Date: Wed, 13 Sep 2006 16:49
15 lines
1512 bytes
1512 bytes
"Omar Zelaya" <ozelaya2010@hotmail.com> wrote in message news:450831c3@newsgroups.borland.com... > try setting the Active property to false, before changing > the DefaultPort and setting it back to true when done. That will not have any effect if there are already items in the Bindings collection. If you set Active to false, you would have to also clear the Bindings collection in order for the collection to use the new DefaultPort value. Otherwise, you will have to loop through the collection itself updating the Port property of the individual Binding items. Gambit
Technical Details
Message-ID:
<45083736@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4508012b$1@newsgroups.borland.com> <450831c3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2bfb95212ddcbc6d 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: <4508012b$1@newsgroups.borland.com> <450831c3@newsgroups.borland.com> Subject: Re: Bug? TIdTCPServer does not change Defaultport at runtime Date: Wed, 13 Sep 2006 09:49:41 -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: 70.40.40.167 Message-ID: <45083736@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1158166326 70.40.40.167 (13 Sep 2006 09:52:06 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail