こんにちは。じゅんやです。
> if ( $socket < 0 ) {
> echo "socket() failed: " . strerror( $socket );
socket_strerror()ではないでしょうか?
http://www.php.net/manual/ja/function.socket-strerror.php
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/