🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: What is actually happening with this simple (TCS/TSS) example?

#5330
From: Vladimir Stefanovic
Date: Wed, 18 Aug 2004 19:14
13 lines
1285 bytes
Thanks for the detailed explanations.

> >       if ( ClientSocket1->Active )
> >          ClientSocket1->Close();

Is there any specific benefit of checking if connection is
active (except of good programming style), because we
have to close it anyway to change params?



Best regards,
Vladimir Stefanovic
Technical Details
Message-ID: <4123aa91@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41230302$1@newsgroups.borland.com> <412397c0$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2324423512352dca
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <spam@not.needed>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <41230302$1@newsgroups.borland.com> <412397c0$1@newsgroups.borland.com>
Subject: Re: What is actually happening with this simple (TCS/TSS) example?
Date: Wed, 18 Aug 2004 21:14:02 +0200
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 213.137.116.132
Message-ID: <4123aa91@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1092856465 213.137.116.132 (18 Aug 2004 12:14:25 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail