Publish VCC Plus OSS source distribution for 3.6.2 build 60

This commit is contained in:
Brian Holman committed 2026-11-13 00:14:03 -07:00
commit c652a5276d
1192 files changed
+272368

No files matched your search

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include "DriveWireShell.h"
#include "../../../src/devices/DriveWireTransport.h"
#include <strings.h>
namespace VCC::Mac {
inline std::unique_ptr<Devices::DriveWireTransport> openDriveWireEndpoint(
DriveWireShell& shell, const std::string& host, uint16_t port) {
// This name exists only inside the emulator. Never send it to DNS or
// redirect normal localhost connections to a privileged command prompt.
if (strcasecmp(host.c_str(), "macshell") == 0)
return port == 2323 ? shell.connect() : nullptr;
return Devices::makeDriveWireTCPConnection(host, port);
}
}