You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to get two or more free ports in the full range of ports with the assignment mechanism than getPort().
Now there is getPort.makeRange(1024, 65535) and calling .next() multiple times achieves a similar result but it's not exactly the same as getPort() because ports are assigned sequentially from the start argument.
I'd suggest a number option that that if passed changes the signature of the return value to an Array of port.
The text was updated successfully, but these errors were encountered:
I'd like to get two or more free ports in the full range of ports with the assignment mechanism than
getPort()
.Now there is
getPort.makeRange(1024, 65535)
and calling.next()
multiple times achieves a similar result but it's not exactly the same asgetPort()
because ports are assigned sequentially from thestart
argument.I'd suggest a
number
option that that if passed changes the signature of the return value to an Array ofport
.The text was updated successfully, but these errors were encountered: