MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / TargetProgram

Method TargetProgram

PerformanceMonitor/TargetProgram.cs:428–440  ·  view source on GitHub ↗
(ISynchronizeInvoke invoker, ushort port=3459)

Source from the content-addressed store, hash-verified

426 }
427
428 public TargetProgram(ISynchronizeInvoke invoker, ushort port=3459)
429 {
430 _Port = port;
431 SynchronizeInvoke = invoker;
432
433 DebugMonitor.OnOutputDebugString += DebugMonitor_OnOutputDebugString;
434
435 // 启动监听服务
436 _UdpClient = new UdpClient(new IPEndPoint(IPAddress.Any, port));
437
438 // 启动UDP
439 _UdpClient.BeginReceive(new AsyncCallback(UDP_OnDataReceived), null);
440 }
441 }
442}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected