🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Question regarding TIdUDPServer

#4726
From: Chad Z. Hower aka Kudzu
Date: Tue, 21 Dec 2004 15:38
22 lines
1633 bytes
"Tumurbaatar S." <nospam_tumur@magicnet.mn> wrote in news:41c10560
@newsgroups.borland.com:
> When OnUDPRead event occurs, a stream parameter
> contains exactly one UDP packet or is it possible that
> it will contain 2 or more packets?

It contains one packet.

> Also, if an event handler code does not read all data from
> a stream, on the next call the stream will contain a new data
> only or unread data from a previous call, plus, a new data? 

It will contain only the new data. 


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
      "Programming is an art form that fights back"

   Need extra help with an Indy problem?

   http://www.atozed.com/indy/experts/
Technical Details
Message-ID: <Xns95C66C41E6BF2cpub@127.0.0.1>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!Kudzu
References: <41c10560@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,cc2b43fdf94dae14
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Question regarding TIdUDPServer
From: "Chad Z. Hower aka Kudzu" <cpub@hower.org>
References: <41c10560@newsgroups.borland.com>
Organization: Atozed Software
Message-ID: <Xns95C66C41E6BF2cpub@127.0.0.1>
User-Agent: Xnews/5.04.25 via ELKNews 1.1
X-Face: '-Al!t=o!k-s4*bktmv/YpA=fm9"8xdyO,t[~R2]W/c%[qF:])&(mBp$XI^d:Tmlr&&>S;aBs0DIl;0Fv|\3fb(#vsf)1;[;m0x&<RC/,7]DSa
Lines: 21
Date: Tue, 21 Dec 2004 10:38:31 -0500
NNTP-Posting-Host: 216.80.149.64
X-Trace: newsgroups.borland.com 1103643513 216.80.149.64 (21 Dec 2004 07:38:33 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!Kudzu