🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TClientSocket problem

#5028
From: Steve Aletto
Date: Thu, 21 Oct 2004 11:45
15 lines
1513 bytes
> I've tried just closing and reopening the client socket, and 
> also deleting and recreating the socket.

Try the following. Before of closing the client socket, close 
the relative TClientWinSocket:

ClientSocket1->Socket->Close();
ClientSocket1->Close();

You could think to close the TClientWinSocket when you get error 
10061 as well.

HTH,

Steve. 
Technical Details
Message-ID: <4177a188@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41766493$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f848560aeb3da4df
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
From: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <41766493$1@newsgroups.borland.com>
Subject: Re: TClientSocket problem
Date: Thu, 21 Oct 2004 13:45:11 +0200
Lines: 17
Organization: Steve Aletto
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; Response
NNTP-Posting-Host: 81.208.124.114
Message-ID: <4177a188@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098359176 81.208.124.114 (21 Oct 2004 04:46:16 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail