Hello,
Any one haved this problem and how to solve it?
After some connections to telnet they stop respond to client.
No errors in logs or something like it.
Me php code:
function telas($command){
$telnet = fsockopen("*********", "1234", $errno, $errstr, 5);
if($telnet) {
echo "OK<BR>";
fputs($telnet, "PASWORD TO Login");
fputs($telnet, "\r\n");
fputs($telnet, $command);
fputs($telnet, "\r\n");
fputs($telnet, "exit\r\n");
while ($line = fgets($telnet)) {
$line = trim($line);
echo $line."<br>";
}
fclose($telnet);
}else {
echo $errno;
echo $errstr;
}
}