users@grizzly.java.net

Re: port ranges

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Tue, 14 Jul 2009 16:08:59 +0200

Hi,

> We are writing a RPC based service which dynamically
> takes a port from a defined range ( for example, 2300:3500 ).
> is there a way to bind a connection from port range?
There is no such functionality :(
You'll probably need to implement binding in a loop, trying ports from
the range one by one until success.

WBR,
Alexey.

>
> I am currently use 1.9.17-snapshot
>
>
> Thanks in advance,
> Tigran.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>