IAC binary
This commit is contained in:
parent
0189b091ab
commit
e8ad0b60dd
@ -960,6 +960,9 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
||||
$this->client->iac_bin = true;
|
||||
}
|
||||
|
||||
$iaccmd = NULL;
|
||||
break;
|
||||
|
||||
case 0xfb:
|
||||
Log::debug(sprintf('%s: - IAC WILL [%02x]',self::LOGKEY,ord($iac)));
|
||||
$iaccmd = ord($iac);
|
||||
@ -973,9 +976,15 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
||||
default:
|
||||
Log::debug(sprintf('%s: - IAC [%02x]',self::LOGKEY,ord($iac)));
|
||||
|
||||
$ch = $iac;
|
||||
$iac = NULL;
|
||||
}
|
||||
|
||||
if ($iaccmd) {
|
||||
$iac = $this->client->read(10,1);
|
||||
$ch = NULL;
|
||||
}
|
||||
|
||||
} while (! is_null($iac));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user