Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Nov : Re: Multiple bindings with TidUDPServer doesn't work?
| Subject: | Re: Multiple bindings with TidUDPServer doesn't work? |
| Posted by: | "mike" (johnson..@zonnet.nl) |
| Date: | 9 Nov 2007 15:45:25 |
>That is a very old release. Indy 10 has undergone several internal rewrites
>since that version. I suggest you upgrade to the current 10.2.3 snapshot
>and see if the problem continues..
I will try that, it's just that I was very happy with the
older version, because that has been tested thoroughly in my
app... (except for listening to multiple ports obviously...)
>By doing that, it forces the OnUDPRead event handler to be synchronized with
>the main thread. So you actually lose the benefit of the server being
>multi-threaded internally, since only one thread at a time will be able to
>trigger the event handler. You may want to consider changing your code to
>allow ThreadedEvent to be true instead.
You're absolutely right, but I just meant to say that I tested
threadedevent on and off and in both cases the result was the
same.
Thanks for all the help!
none