🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Looping with IdTCPClient

#2004
From: fabiand
Date: Tue, 05 Sep 2006 10:54
14 lines
1547 bytes
Hi!

Here's what I have to do:

A TCPClient connects to the server and sends its data every 40ms, while
receiving the server's response within the same interval. But actually
I have no idea how to implement the sending-loop on the clientside,
because there's no counterpart to the server's onExecute-Event in the
IdTCPClient-API, rigth?
Do I have to implement the loop manually (in contrast to the server)?

Thanks in advance,

Fabian
Technical Details
Message-ID: <1157453666.076079.242210@i42g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!i42g2000cwa.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4864c5500b8facd0,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!i42g2000cwa.googlegroups.com!not-for-mail
From: "fabiand" <fabian@dimski.de>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Looping with IdTCPClient
Date: 5 Sep 2006 03:54:26 -0700
Organization: http://groups.google.com
Lines: 15
Message-ID: <1157453666.076079.242210@i42g2000cwa.googlegroups.com>
NNTP-Posting-Host: 217.5.181.26
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1157453669 15460 127.0.0.1 (5 Sep 2006 10:54:29 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 5 Sep 2006 10:54:29 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: i42g2000cwa.googlegroups.com; posting-host=217.5.181.26;
   posting-account=ptnQGg0AAADAjpQ03MeALh4_lnBkJbAe