Exemplo n.º 1
0
 static void ServerThreadLoop(object mrevent)
 {
    ManualResetEvent resetEvent = (ManualResetEvent)mrevent;
    var host = new Server();
    IPCService.Instance.OnMessageRecieved += IPCService_OnMessageRecieved;
    host.Start(resetEvent, "IPCTestServer", new ConnectionOptions(), BindingScheme.NAMED_PIPE | BindingScheme.TCP);
 }
Exemplo n.º 2
0
 static void ServerThreadLoop(object mrevent)
 {
     ManualResetEvent resetEvent = (ManualResetEvent)mrevent;
     var host = new Server();
     IPCService.Instance.OnMessageRecieved += IPCService_OnMessageRecieved;
     host.Start(resetEvent, Process.GetCurrentProcess().Id.ToString(),"localhost",64000);
 }
Exemplo n.º 3
0
 static void ServerThreadLoop(object mrevent)
 {
    ManualResetEvent resetEvent = (ManualResetEvent)mrevent;
    var host = new Server();
    host.Start(resetEvent, "DatabaseServer", new ConnectionOptions(), BindingScheme.NAMED_PIPE | BindingScheme.TCP);
 }