to be honest this snippet is a horrid mess sorry to say. =/
why rely on a socket maker to run this? you should really as Jethro_ said " understand how it works instead of getting a program" .
but keep at it an get to understand sockets so you don't have to rely on a program to make them for you.
2/10
so are you saying to use the socket maker program to run this cuz of the $nohtml alias? if so why don't you include the alias in the snippet.