🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

indy9->indy10 udp migration (CB6->CB2007)

#295
From: Vladimir
Date: Fri, 21 Mar 2008 14:24
11 lines
1525 bytes
I have a TIdUDPServer that is listening datagrams from the udpclients.

To accept data the OnUDPRead assigned to my function.
I tried to use the same code that I have for CB6-Indy9, under CB6 the 
code works fine, but after migrating to the CB2007->Indy9 the code 
accepts only one packet and after that no more, after restarting of the 
program I can accept again one packet from the client, another from the 
second client and again no more from these clients. What's the problem?

The second question - on the program exit I have error 10004 from the 
server (only for Indy10).
Technical Details
Message-ID: <47e3c513@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!news.isoc.lu!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ca5e00fadaa1144f,start
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 21 Mar 2008 17:24:18 +0300
From: Vladimir <zhuchko@jinr.ru>
Reply-To: zhuchko@jinr.ru
Organization: JINR
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: indy9->indy10 udp migration (CB6->CB2007)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 159.93.20.97
Message-ID: <47e3c513@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1206109459 159.93.20.97 (21 Mar 2008 07:24:19 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!news.isoc.lu!newsgroups.borland.com!not-for-mail