Actually I modified and rewrote that socket script for Gemster at the forum request. He probably shared it with you and you've submitted it as your own snippet.
You can find the script here at:
http://www.hawkee.com/phpBB2/viewtopic.php?t=22388
And read the thread toward the end.