Skip to main content

Timeline for Random IP Address Generator

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
Jun 10, 2020 at 13:24 history edited CommunityBot
Commonmark migration
Jul 27, 2018 at 21:52 comment added mbomb007 @TobySpeight It doesn't, but there is a way to guarantee it manually, by using a decorator: stackoverflow.com/q/27417874/2415524
Jul 26, 2018 at 16:59 comment added Toby Speight Maybe you want extra options to create IPv6 addresses formed from mapping IPv4 addresses and from hardware MAC addresses, then.
Jul 26, 2018 at 16:13 comment added Toby Speight Yes, I was just showing one way. Python's only an occasional language for me, and I couldn't remember whether it guarantees tail-call elimination...
Jul 26, 2018 at 15:20 comment added Graipher There is no need for this to be recursive. It might as well be a while is_reserved(address): loop. But then again, if the chance to generate a valid IP is only a per mille (so you are in danger of regularly hitting the stack size limit), you are probably doing something wrong...
Jul 26, 2018 at 12:50 history answered Toby Speight CC BY-SA 4.0