Files
PVabel2026/YetAnotherDummy/Program.cs
2026-02-20 12:23:23 +01:00

17 lines
544 B
C#

// See https://aka.ms/new-console-template for more information
using CollabVM.Server;
using RemoteFrameBuffer;
using RemoteFrameBuffer.Client;
using System.Net;
IPAddress tessia = new([192,168,16,253]);
IRemoteFrameBufferClientStreamProvider tessia6001vnc = new RemoteFrameBufferTcpClientStreamProvider(tessia, 5901);
RemoteFramebufferClient client = new(tessia6001vnc);
CollabVMHttpServer httpServer = new(new([100,65,0,14]), 6004, true);
httpServer.AddServer("vmx", new(client));
httpServer.Start();
Console.ReadLine();
client.Stop();