for A = 0 to 255 for B = 0 to 255 for C = 0 to 255 for D = 0 to 255 ping A.B.C.D if (there was a response) then store A.B.C.D in list Q next next next next print list Q
Actually, Rendezvous/ZeroConf works by using mutlicast DNS on the local subnet. It also extensively caches responses and uses incremental falloff of queries and announcements. It's pretty network-effecient. Check out the ZeroConf website [zeroconf.org] for the draft RFCs.
Pseudocode for accomplishing this (Score:5, Funny)
for B = 0 to 255
for C = 0 to 255
for D = 0 to 255
ping A.B.C.D
if (there was a response) then store A.B.C.D in list Q
next
next
next
next
print list Q
Re:Pseudocode for accomplishing this (Score:1)
-PM
Re:Pseudocode for accomplishing this (Score:1)
Re:Pseudocode for accomplishing this (Score:1)
Re:Pseudocode for accomplishing this (Score:2)
Let's hear it for sub-ms ping times!
Re:Pseudocode for accomplishing this (Score:5, Funny)
How many script kiddies do you think are going to copy that code and try to compile or execute it?
Re:Pseudocode for accomplishing this (Score:5, Funny)
bbh
Re:Pseudocode for accomplishing this (Score:2)
Re:Pseudocode for accomplishing this (Score:2)
Re:Pseudocode for accomplishing this (Score:2)
I dunno, zero to 255?
Re:Pseudocode for accomplishing this (Score:2)
I know you're kidding, but the answer is not zero [blort.org].
Re:Pseudocode for accomplishing this (Score:5, Funny)
You forgot to initialize Q to a null list...
Re:Pseudocode for accomplishing this (Score:4, Funny)
Re:Pseudocode for accomplishing this (Score:2)
Re:Pseudocode for accomplishing this (Score:1)
Re:Pseudocode for accomplishing this (Score:4, Funny)
Why didn't you write it in obfuscated perl?
Re:Pseudocode for accomplishing this (Score:2)
Why didn't you write it in obfuscated perl? :)
That probably got caught by the lameness filter. And I say this not as a saint on perlmonks, but a complete loony.
Re:Pseudocode for accomplishing this (Score:2, Funny)
Wait, wait, wait...
There's such a thing as unobfuscated perl? Or were you being redundant on purpose?
Re:Pseudocode for accomplishing this (Score:1)
Re:Pseudocode for accomplishing this (Score:2, Funny)