On 11/8/11 12:27 PM, Anuradha wrote:
Hi,

I have written an apache server program in which, i am presently listening on
one port 9123.
How can we modify the server program to listen on 4 ports ,and if we have
100requests opened from clients ,each port should process 25 requests,and this
handling should be done in round robin fashion.

Assuming you are using MINA 2, you can bind as many port as you like, using the : *void bind(SocketAddress firstLocalAddress, SocketAddress... addresses) throws IOException*
method, or the
void bind(Iterable<? extends SocketAddress> localAddresses) throws IOException
method.


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to