Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Indy UDP readevent doesn't use dual core/multi processors?

www.cryer.info
Managed Newsgroup Archive

Re: Indy UDP readevent doesn't use dual core/multi processors?

Subject:Re: Indy UDP readevent doesn't use dual core/multi processors?
Posted by:"mike" (johnson..@zonnet.nl)
Date:2 May 2006 03:33:43

After looking at the indy 10 snapshot, I think I misunderstood.
Does the new UDPServer now have support for separate threads
per binding, which means listening on different host IP
addresses?

Or is it now possible to have a thread per virtual connection (with same dest port) with a source client, if the source IP
and/or port are different?

I am getting the feeling that due to the UDP nature it's just impossible to have threads like the tcpserver has. Am I right
in assuming that:
A) to use multiple cores with udpserver I need to have multiple
host IP adresses on the server computer and bind them?
B) I need to handle the incoming packets myself in the onudpread event and check for myself what the source IP/port is
in order to react different to each source?

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive