Originally Posted By: MeStinkBAD
It's $sock(0) not $socket(0).


actually it's $sock(*, 0)


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde