出于某种原因,每当我尝试写入套接字时,都会收到此错误:
Notice: fwrite() [function.fwrite]: send of 7 bytes failed with errno=1 Operation not permitted in /home/www/MySiteName/someFile.php on line 165
我的 php.ini 文件中是否缺少某些内容?我目前正在运行 PHP v5.2.6
由于要求提供代码:
$this->Socket = @FSockOpen( 'udp://' . $Ip, (int)$Port, $ErrNo, $ErrStr, $Timeout );
FWrite( $this->Socket, $Command, $Length )