Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalcala committed Jan 24, 2018
1 parent 0ea7594 commit c5d1d0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -933,8 +933,10 @@ var connectionListener = new ConnectionListener(1337);
// handle the OnConnectionAccepting event
connectionListener.OnConnectionAccepted += (s, e) =>
{
// create a new connection with a blocksize of 6
using (var con = new Connection(e.Client,6))
{
// an event which will be raised when data is received
con.DataReceived += (o, y) =>
{
var response = Encoding.UTF8.GetChars(y.Buffer);
Expand Down

0 comments on commit c5d1d0f

Please sign in to comment.