mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-24 11:16:58 +00:00
Uthernet II: add virtual DNS feature (PR #1097)
Uthernet II: add extended feature to virtualise DNS requests. . This allows pure TCP/UDP sockets to run *without* MACRAW requests (and so without libpcap). . Raw sockets will not work. . Add configuration for Virtual DNS. libpcap: ensure all functions check if the library is loaded before using it. Uthernet 1: do NOT overwrite tfe_cannot_use as it should only reflect the availability of npcap on *this* system. Add Copyright notice, and mention Virtual DNS in html.
This commit is contained in:
@@ -625,8 +625,8 @@ std::string Win32Frame::Video_GetScreenShotFolder() const
|
||||
return std::string();
|
||||
}
|
||||
|
||||
std::shared_ptr<NetworkBackend> Win32Frame::CreateNetworkBackend()
|
||||
std::shared_ptr<NetworkBackend> Win32Frame::CreateNetworkBackend(const std::string & interfaceName)
|
||||
{
|
||||
std::shared_ptr<NetworkBackend> backend(new PCapBackend(PCapBackend::tfe_interface));
|
||||
std::shared_ptr<NetworkBackend> backend(new PCapBackend(interfaceName));
|
||||
return backend;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user