I got the error log
"PHP error operation not permitted in file task on line 56"
This is my code
How can i solve that?
[/PHP][/PHP]
"PHP error operation not permitted in file task on line 56"
This is my code
PHP Code:
$host_name = "xx.xx.xx.xx";
$host_addr = "xx.xx.xx.xx";
$tcp0_pid = pid_open("/mmap/tcp0");
echo "connect to $host_addr:80...";
pid_connect($tcp0_pid, $host_addr, 80);
for(;
{
$state = pid_ioctl($tcp0_pid, "get state"); // ======> i have an error at this line (Line 56)
//echo $state;
if($state == TCP_CLOSED)
{
echo "state closed";
}
if($state == TCP_CONNECTED)
break;
}
PHP Code:
[PHP][PHP]
Comment