From 9204ed6a2e4a5b524294186615392307fb4c2f0c Mon Sep 17 00:00:00 2001 From: JamJar00 Date: Thu, 15 Sep 2016 19:12:17 +0100 Subject: [PATCH] Fixed doc include code --- Hazel/DocInclude/TcpClientExample.cs | 2 +- Hazel/DocInclude/UdpClientExample.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Hazel/DocInclude/TcpClientExample.cs b/Hazel/DocInclude/TcpClientExample.cs index cc2bdc2..8138f6b 100644 --- a/Hazel/DocInclude/TcpClientExample.cs +++ b/Hazel/DocInclude/TcpClientExample.cs @@ -7,7 +7,7 @@ ManualResetEvent e = new ManualResetEvent(false); //Whenever we receive data print the number of bytes and how it was sent - connection.DataReceived += (object sender, DataEventArgs a) => + connection.DataReceived += (object sender, DataReceivedEventArgs a) => Console.WriteLine("Received {0} bytes via {1}!", a.Bytes.Length, a.SendOption); //When the end point disconnects from us then release the main thread and exit diff --git a/Hazel/DocInclude/UdpClientExample.cs b/Hazel/DocInclude/UdpClientExample.cs index b576f26..e77d5c5 100644 --- a/Hazel/DocInclude/UdpClientExample.cs +++ b/Hazel/DocInclude/UdpClientExample.cs @@ -7,7 +7,7 @@ ManualResetEvent e = new ManualResetEvent(false); //Whenever we receive data print the number of bytes and how it was sent - connection.DataReceived += (object sender, DataEventArgs a) => + connection.DataReceived += (object sender, DataReceivedEventArgs a) => Console.WriteLine("Received {0} bytes via {1}!", a.Bytes.Length, a.SendOption); //When the end point disconnects from us then release the main thread and exit -- 2.39.5