🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: i need ideas/comments with tclientsocket

#3273
From: Jonathan Benedicto
Date: Tue, 01 Nov 2005 14:36
12 lines
1740 bytes
Hans Galema wrote:
> So we spoke about different code and did a different test.

Sorry. I changed the code because I realized after I posted my first code 
chunk that I had made an error. Because when only 1 byte was left in the 
socket buffer, 1 / 2 = 0 in a integer, so it was being told to read 0 
bytes. So that is why I changed it.

However, it didn't hang the app, nor show any signes of problems when only 
half-reading available bytes.

Jonathan
Technical Details
Message-ID: <43677d84@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43662baf$1@newsgroups.borland.com> <43663272$1@newsgroups.borland.com> <43664213$1@newsgroups.borland.com> <43664528$1@newsgroups.borland.com> <436646de$1@newsgroups.borland.com> <43664ec9$1@newsgroups.borland.com> <43665da7@newsgroups.borland.com> <4366627e$1@newsgroups.borland.com> <436687f0$1@newsgroups.borland.com> <4366f1cf$1@newsgroups.borland.com> <43672bbc$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5c33b8c6a9ca7fdb
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jonathan Benedicto" <incorrect@no.server>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <43662baf$1@newsgroups.borland.com> <43663272$1@newsgroups.borland.com> <43664213$1@newsgroups.borland.com> <43664528$1@newsgroups.borland.com> <436646de$1@newsgroups.borland.com> <43664ec9$1@newsgroups.borland.com> <43665da7@newsgroups.borland.com> <4366627e$1@newsgroups.borland.com> <436687f0$1@newsgroups.borland.com> <4366f1cf$1@newsgroups.borland.com> <43672bbc$1@newsgroups.borland.com>
Subject: Re: i need ideas/comments  with tclientsocket
Date: Tue, 1 Nov 2005 09:36:57 -0500
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 69.158.116.150
Message-ID: <43677d84@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130855812 69.158.116.150 (1 Nov 2005 06:36:52 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail