This commit is contained in:
snltty
2024-08-03 02:09:07 +08:00
parent 84b14228de
commit 850eb8a90f
22 changed files with 278 additions and 99 deletions

View File

@@ -10,7 +10,7 @@ namespace linker.tun.test
static void Main(string[] args)
{
linkerTunDeviceAdapter = new LinkerTunDeviceAdapter();
linkerTunDeviceAdapter.SetCallback(new LinkerTunDeviceCallback());
linkerTunDeviceAdapter.SetReadCallback(new LinkerTunDeviceCallback());
linkerTunDeviceAdapter.SetUp("linker111"
, Guid.Parse("dc6d4efa-2b53-41bd-a403-f416c9bf7129")
, IPAddress.Parse("192.168.55.2"), 24);