protected function onIncoming(SocketServer $socket, Closure $callback): void
    {
        $socket->on('connection', function ($conn) use ($callback) {
            $conn->on('data', $callback);
        });
    }