IAC binary
This commit is contained in:
parent
a281ca9df7
commit
5f217291c5
@ -999,11 +999,16 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($iaccmd) {
|
if ($iaccmd) {
|
||||||
$iac = ord($this->client->read(10,1));
|
$iac = $this->client->read_ch(10);
|
||||||
$ch = NULL;
|
$ch = NULL;
|
||||||
|
|
||||||
|
} elseif (is_null($ch)) {
|
||||||
|
$ch = $this->client->read_ch(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
} while (! is_null($iac));
|
} while (! is_null($iac));
|
||||||
|
|
||||||
|
Log::debug(sprintf('%s:- Leaving IAC with [%02x]',self::LOGKEY,$ch),['ch'=>serialize($ch)]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($ch != self::TIMEOUT) && ($ch < 0))
|
if (($ch != self::TIMEOUT) && ($ch < 0))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user