(ISynchronizeInvoke invoker, ushort port=3459)
| 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected