in reply to some of the best hours of my life
Note: this looks better with "code wrap" set to something reasonable, like 80 cols. (:
and yes, as tachyon pointed out it does rely on a gethostbyname() call; if you don't have that, it won't work.