Now now guys, don't we all know better than to criticize someone for -attempting- to share with the community? He clearly states in the title it is a tool for fun, and he did end up sharing the source which someone may learn something from. Though I didn't look to see how he did any of it
His linguistic skills aside he has a point, criticizing people's code without offering up solutions is poor form.
Is his code useless? Oh fuck yeah it is, I can only think of a few very limited cases where it would be even slightly useful. However:
OP, maybe work on adding a network mask function, Eg. randipgen.exe -e 20 -f 192.168.2.0
This would generate 20 out of the 255 possible IP addresses and list them off, which you could pipe into another program. THAT I think would at least be moderately useful in certain cases.