Changed to using new Address Model, Implemented Setup, Some minor CSS changes
This commit is contained in:
@@ -5,10 +5,10 @@ namespace App\Console\Commands;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
use App\Classes\Protocol\Binkd as BinkdClass;
|
||||
use App\Classes\Sock\SocketException;
|
||||
use App\Classes\Sock\SocketServer;
|
||||
|
||||
use App\Classes\Protocol\Binkd as BinkdClass;
|
||||
use App\Models\Setup;
|
||||
|
||||
class BinkpReceive extends Command
|
||||
{
|
||||
@@ -35,8 +35,8 @@ class BinkpReceive extends Command
|
||||
{
|
||||
Log::info('Listening for BINKP connections...');
|
||||
|
||||
$server = new SocketServer(24554,'0.0.0.0');
|
||||
$server->setConnectionHandler([new BinkdClass,'onConnect']);
|
||||
$server = new SocketServer(Setup::BINKP_PORT,Setup::BINKP_BIND);
|
||||
$server->setConnectionHandler([new BinkdClass(Setup::findOrFail(config('app.id'))),'onConnect']);
|
||||
|
||||
try {
|
||||
$server->listen();
|
||||
|
Reference in New Issue
Block a user