🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

bcb ServerSocket

#3980
From: Joel Guerra
Date: Tue, 19 Apr 2005 22:00
15 lines
1466 bytes
Hello, Sorry for the cross post.....

I have some old code I am trying to support...

I am using TCustomWinSocket as a 1 client server..the program works if the
client exits properly, If the server connection is lost due toe wiring
disconnect, the server does
some cleanup,but then next the time the client connects, it goes to a second
connection instead of my default TCPSock->Socket->Connections[0].  If I look
at the ActiveConnections, I now see 2 connections......

How do I clobber the old connection so that I always have only 1 active
connection?

Joel
Technical Details
Message-ID: <42657f98$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,8f3aebf0a06ba50,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Joel Guerra" <j.guerra@texasscenic.com>
From: "Joel Guerra" <j.guerra@texasscenic.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: bcb ServerSocket
Date: Tue, 19 Apr 2005 17:00:43 -0500
Lines: 18
Organization: Texas Scenic Company
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 66.118.7.42
Message-ID: <42657f98$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113948056 66.118.7.42 (19 Apr 2005 15:00:56 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail