Article View: borland.public.cppbuilder.internet.socket
Article #2781Re: what's different between TTcpClient and TClientSocket in BCB6
From: Liu Shan
Date: Thu, 12 Jan 2006 05:39
Date: Thu, 12 Jan 2006 05:39
27 lines
2045 bytes
2045 bytes
Thank you very much. "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:43c4c8a2$1@newsgroups.borland.com... > > "Liu Shan" <liushan@ps-electronic.com> wrote in message > news:43c4b30a$1@newsgroups.borland.com... > >> How to use TServerSocket to bind different ports. > > TServerSocket only supports 1 port at a time. > >> I mean, I want to write a server app to support listening different >> ports. Do I need to drag and drop many TServerSocket on my >> form to bind different ports? > > If you want multiple ports active at the same time, then yes. On the > other > hand, if you want only 1 port active at a time, but want to be able to > configure the port that is used, then simply change the value of the > TServerSocket's Port property when needed before activating the server. > > > Gambit > >
Technical Details
Message-ID:
<43c5eb11$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43c1d889@newsgroups.borland.com> <43c23f01$1@newsgroups.borland.com> <43c4b30a$1@newsgroups.borland.com> <43c4c8a2$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,25cf85f7ec6b3a7a X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Liu Shan" <liushan@ps-electronic.com> From: "Liu Shan" <liushan@ps-electronic.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <43c1d889@newsgroups.borland.com> <43c23f01$1@newsgroups.borland.com> <43c4b30a$1@newsgroups.borland.com> <43c4c8a2$1@newsgroups.borland.com> Subject: Re: what's different between TTcpClient and TClientSocket in BCB6 Date: Thu, 12 Jan 2006 13:39:45 +0800 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 219.74.19.168 Message-ID: <43c5eb11$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1137044241 219.74.19.168 (11 Jan 2006 21:37:21 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail