コード例 #1
0
 private void OnServerMessage(NamedPipeConnection<MyMessage, MyMessage> connection, MyMessage message)
 {
     Console.WriteLine("Server says: {0}", message);
 }
コード例 #2
0
 private void OnClientMessage(NamedPipeConnection<MyMessage, MyMessage> connection, MyMessage message)
 {
     Console.WriteLine("Client {0} says: {1}", connection.Id, message);
 }