🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TClientSocket ReceiveLength() returns large value

#4270
From: Remy Lebeau (TeamB)
Date: Mon, 14 Mar 2005 20:42
22 lines
1444 bytes
"Gary Johnson" <gjohnson@cinele.com> wrote in message
news:4235f30d@newsgroups.borland.com...

> I use Socket->ReceiveLength() before Socket->ReceiveBuf() and
> everything works great until i get a large value returned by
ReceiveLength()
> over 2000.

What is the actual value?

> The subsequent call to ReceiveBuf() returns a legitimate value

In other words, you did receive valid data that was as large as it claimed?

> but then all communication stops even though the Active property is still
"true."

Please show your actual code.


Gambit
Technical Details
Message-ID: <4235f764$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4235f30d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d813a4525d839272
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: <4235f30d@newsgroups.borland.com>
Subject: Re: TClientSocket  ReceiveLength() returns large value
Date: Mon, 14 Mar 2005 12:42:09 -0800
Lines: 24
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: 68.69.17.41
Message-ID: <4235f764$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110832996 68.69.17.41 (14 Mar 2005 12:43:16 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail