🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TClientSocket OnRead event issues

#1942
From: Remy Lebeau (TeamB)
Date: Thu, 14 Sep 2006 22:03
18 lines
1699 bytes
"Josh Arnold" <jarnold@atterotech.com> wrote in message
news:4509ccfc$1@newsgroups.borland.com...

> My new problem is that I need to send a lot of small messages
> and get them back ideally in the order that they were sent.

TCP/IP guarantees that for you.  All you have to is read whatever you
receive.  They will already be in the proper order.

> What would be the best approach to this problem?

Please go to http://www.deja.com and search through the newsgroup archives.
Effectively usage of TClientSocket (especially in non-blocking mode) has
been discussed many many times before, with full code examples.


Gambit
Technical Details
Message-ID: <4509d356$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4508a026@newsgroups.borland.com> <4508a3f3$2@newsgroups.borland.com> <4508aab1$1@newsgroups.borland.com> <4508b143@newsgroups.borland.com> <450949ba$1@newsgroups.borland.com> <45098bd2$1@newsgroups.borland.com> <4509ccfc$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6164f1b08fcaf5c2
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: <4508a026@newsgroups.borland.com> <4508a3f3$2@newsgroups.borland.com> <4508aab1$1@newsgroups.borland.com> <4508b143@newsgroups.borland.com> <450949ba$1@newsgroups.borland.com> <45098bd2$1@newsgroups.borland.com> <4509ccfc$1@newsgroups.borland.com>
Subject: Re: TClientSocket OnRead event issues
Date: Thu, 14 Sep 2006 15:03:13 -0700
Lines: 20
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: 70.40.40.167
Message-ID: <4509d356$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1158271830 70.40.40.167 (14 Sep 2006 15:10:30 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail