diff --git a/app/Classes/Protocol/EMSI.php b/app/Classes/Protocol/EMSI.php index e9c8798..92a68c2 100644 --- a/app/Classes/Protocol/EMSI.php +++ b/app/Classes/Protocol/EMSI.php @@ -908,7 +908,7 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface } $this->client->rx_purge(); - $this->client->buffer_clear(); + $this->client->tx_purge(); $this->emsi_banner(); $t1 = $this->client->timer_set(self::EMSI_HSTIMEOUT); diff --git a/app/Classes/Protocol/Zmodem.php b/app/Classes/Protocol/Zmodem.php index 0b59664..9c067e5 100644 --- a/app/Classes/Protocol/Zmodem.php +++ b/app/Classes/Protocol/Zmodem.php @@ -2389,7 +2389,7 @@ final class Zmodem extends Protocol implements CRCInterface,ZmodemInterface $crc = self::LSZ_INIT_CRC32; $buf = ''; - $this->client->buffer_clear(); + $this->client->tx_purge(); $buf = $send->sendas.chr(0); $buf .= sprintf('%ld %lo %o %o %ld %ld',