🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: IdUDPClient - OnRead Event

#2502
From: Remy Lebeau (TeamB)
Date: Mon, 03 Apr 2006 17:21
14 lines
1400 bytes
"Darl" <Darl@nospam.com> wrote in message
news:44311b8a@newsgroups.borland.com...

> How can I send data from UDPServer or TCPSever to UDPClient
> or TCPClient if the client is not waiting for it

If you need to accept packets asynchronously on the client side, then you
have to use a separate thread or timer which continously reads.  Do note
that you can no longer use SendCmd() under this scenerio, though, since the
thread/timer will interfer with SendCmd()'s own reading.


Gambit
Technical Details
Message-ID: <4431598b$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44311b8a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,112c80b4d484b6b5
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: <44311b8a@newsgroups.borland.com>
Subject: Re: IdUDPClient - OnRead Event
Date: Mon, 3 Apr 2006 10:21:21 -0700
Lines: 16
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: <4431598b$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1144084875 68.69.17.41 (3 Apr 2006 10:21:15 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail