Re: TcpDiscoverySpi.setLocalPortRange, value must be > 0

2016-01-19 Thread Dmitriy Setrakyan
I think it is not a bad change. How about we open a ticket and mark it as “newbie”, so new community members could get started with it. On Mon, Jan 18, 2016 at 4:52 AM, Denis Magda wrote: > Hi, > > Thank for pointing out to this issue. Local port range set to 0 presently > doesn't work at least

Re: TcpDiscoverySpi.setLocalPortRange, value must be > 0

2016-01-18 Thread Denis Magda
Hi, Thank for pointing out to this issue. Local port range set to 0 presently doesn't work at least for TcpCommunicationSpi and TcpDiscoverySpi. However SPIs support it. In my understanding the condition has to changed to the following one (from < to <=). x = port; x*<=* port + range But