EMSI now responding to PINGs in the same session

This commit is contained in:
Deon George
2021-07-18 23:37:44 +10:00
parent 9dcfe6b17d
commit 5ad342fd56
2 changed files with 11 additions and 8 deletions

View File

@@ -11,6 +11,7 @@ use App\Classes\File\{Receive,Send};
use App\Classes\Sock\{SocketClient,SocketException};
use App\Interfaces\CRC as CRCInterface;
use App\Interfaces\Zmodem as ZmodemInterface;
use App\Models\Address;
use App\Traits\CRC as CRCTrait;
final class Zmodem extends Protocol implements CRCInterface,ZmodemInterface
@@ -274,7 +275,7 @@ final class Zmodem extends Protocol implements CRCInterface,ZmodemInterface
$rc = $this->zmodem_senddone();
} else {
$rc = $this->zmodem_receive($this->client,$proto,$this->recv);
$rc = $this->zmodem_receive($this->client,$proto,$this->recv,$this->node->address);
}
return $rc;