🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#297
From: Remy Lebeau (TeamB)
Date: Fri, 21 Mar 2008 16:14
30 lines
1898 bytes
"Vladimir" <zhuchko@jinr.ru> wrote in message 
news:47e3c513@newsgroups.borland.com...

> 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.

Have you tried upgrading to the latest Indy 9 snapshot yet?  I suggest you 
do that and see if the problem continues.

> What's the problem?

There is no way to answer that without seeing your actual code.  Perhaps you 
are crashing the server?

> on the program exit I have error 10004 from the server

You should not be seeing that particular error.  It only occurs when 
WSACancelBlockingCall() is called, which Indy never uses.

> only for Indy10

Which Indy are you actually using - 9 or 10?


Gambit 
Technical Details
Message-ID: <47e3df6b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <47e3c513@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ca5e00fadaa1144f
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <47e3c513@newsgroups.borland.com>
Subject: Re: indy9->indy10 udp migration (CB6->CB2007)
Date: Fri, 21 Mar 2008 09:14:05 -0700
Lines: 32
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 207.178.157.90
Message-ID: <47e3df6b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1206116203 207.178.157.90 (21 Mar 2008 09:16:43 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail