Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }