🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TCP Client/Server Component Help in BCB 2006...

#1396
From: Remy Lebeau (TeamB)
Date: Mon, 29 Jan 2007 07:56
24 lines
2029 bytes
"Danny" <danny2912@libero.it> wrote in message
news:45bcace2@newsgroups.borland.com...

> In my firm I have built a system server/client using the
> TServerSocket/TClientSocket (1 server and about 40 clients);
> and I don't know why, but sometime the application server don't
> listen more the clients, and is necessary to restart the
application.

TServerSocket is a very solid component.  If it is not responding to
clients anymore, then you probably deadlocked it or blew it up with
your own code.

> However, I'll try to adapt my code with TTcpServer/TTcpClient.

I *STRONGLY* advise you NOT to do that!  Those are VERY poor
components.  You will have a lot more difficulties using them instead
of TServerSocket/TClientSocket.  I you really want to switch
components, then look at TIdTCPServer/TIdTCPClient instead (which are
part of Indy that ships with BCB).


Gambit
Technical Details
Message-ID: <45bdaa0b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!feeder.news-service.com!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45b942b8$1@newsgroups.borland.com> <45b9519b@newsgroups.borland.com> <45bb54fc@newsgroups.borland.com> <45bbf3eb$1@newsgroups.borland.com> <45bcace2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,631535e53048c57d
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: <45b942b8$1@newsgroups.borland.com> <45b9519b@newsgroups.borland.com> <45bb54fc@newsgroups.borland.com> <45bbf3eb$1@newsgroups.borland.com> <45bcace2@newsgroups.borland.com>
Subject: Re: TCP Client/Server Component Help in BCB 2006...
Date: Sun, 28 Jan 2007 23:56:39 -0800
Lines: 26
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: 75.83.34.171
Message-ID: <45bdaa0b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1170057739 75.83.34.171 (29 Jan 2007 00:02:19 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!feeder.news-service.com!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail