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
Hello,
I've got proposal to extend functionality of (nextIPNumber / previousIPNumber).
We can pass optional argument i.e. count into previous method and based on that count, generate next (or previous) ip number increased (or decreased) by this count.
Examples:
IPv4
init IP Number: 192.168.1.1
count: 10
next IP Number: 192.168.1.11
previous IP Number: 192.168.0.247
IPv6
init IP Number: 1::1
count: 10
next IP Number: 1000:0:0:0:0:0:b
previous IP Number: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ff7
The text was updated successfully, but these errors were encountered:
Hello,
I've got proposal to extend functionality of (
nextIPNumber
/previousIPNumber
).We can pass optional argument i.e.
count
into previous method and based on thatcount
, generate next (or previous) ip number increased (or decreased) by thiscount
.Examples:
IPv4
init IP Number:
192.168.1.1
count:
10
next IP Number:
192.168.1.11
previous IP Number:
192.168.0.247
IPv6
init IP Number:
1::1
count:
10
next IP Number:
1000:0:0:0:0:0:b
previous IP Number:
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ff7
The text was updated successfully, but these errors were encountered: