Thread View: borland.public.cppbuilder.internet.socket
6 messages
6 total messages
Started by Liu Shan
Mon, 09 Jan 2006 03:31
what's different between TTcpClient and TClientSocket in BCB6
Author: Liu Shan
Date: Mon, 09 Jan 2006 03:31
Date: Mon, 09 Jan 2006 03:31
11 lines
1357 bytes
1357 bytes
Hi, Can Andy body tell me what's different between TTcpClient and TClientSocket in BCB6, as I saw only TClientSocket in BCB4, but BCB6 has TTcpClient. If I want to create a TCP/IP client - server app, with component I should to use, TTcpClient/TTcpServer or TClientSocket/TServerSocket. Regards Susan
Re: what's different between TTcpClient and TClientSocket in BCB6
Author: Remy Lebeau (TeamB)
Date: Mon, 09 Jan 2006 10:26
Date: Mon, 09 Jan 2006 10:26
17 lines
1515 bytes
1515 bytes
"Liu Shan" <liushan@ps-electronic.com> wrote in message news:43c1d889@newsgroups.borland.com... > Can Andy body tell me what's different between TTcpClient > and TClientSocket in BCB6 They are completely different and unrelated components. They have very different architectures. TTcpClient is part of the CLX. TClientSocket is part of the VCL. > I saw only TClientSocket in BCB4, but BCB6 has TTcpClient. BCB6 still has TClientSocket available. Gambit
Re: what's different between TTcpClient and TClientSocket in BCB6
Author: Liu Shan
Date: Wed, 11 Jan 2006 01:35
Date: Wed, 11 Jan 2006 01:35
24 lines
1698 bytes
1698 bytes
Very thanks. "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:43c23f01$1@newsgroups.borland.com... > > "Liu Shan" <liushan@ps-electronic.com> wrote in message > news:43c1d889@newsgroups.borland.com... > >> Can Andy body tell me what's different between TTcpClient >> and TClientSocket in BCB6 > > They are completely different and unrelated components. They have very > different architectures. TTcpClient is part of the CLX. TClientSocket is > part of the VCL. > >> I saw only TClientSocket in BCB4, but BCB6 has TTcpClient. > > BCB6 still has TClientSocket available. > > > Gambit > >
Re: what's different between TTcpClient and TClientSocket in BCB6
Author: Liu Shan
Date: Wed, 11 Jan 2006 07:28
Date: Wed, 11 Jan 2006 07:28
9 lines
1319 bytes
1319 bytes
New Question, How to use TServerSocket to bind different ports. 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? Regards Susan
Re: what's different between TTcpClient and TClientSocket in BCB6
Author: Remy Lebeau (TeamB)
Date: Wed, 11 Jan 2006 09:00
Date: Wed, 11 Jan 2006 09:00
19 lines
1695 bytes
1695 bytes
"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
Re: what's different between TTcpClient and TClientSocket in BCB6
Author: 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 > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads