Skip to content

Commit

Permalink
Few minor fixes to the Mono Peer
Browse files Browse the repository at this point in the history
  • Loading branch information
fholm committed Nov 27, 2011
1 parent d4c6892 commit bcec5e8
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions SlimIOCP/SlimIOCP.Mono/Peer.cs
Expand Up @@ -56,24 +56,14 @@ internal void Receive(Connection connection)
{
buffer.MonoConnection = connection;

var result = connection.Socket.BeginReceive(
connection.Socket.BeginReceive(
buffer.BufferHandle,
buffer.BufferOffset,
buffer.BufferSize,
System.Net.Sockets.SocketFlags.None,
ReceiveDone,
buffer
);

if (result.IsCompleted)
{

}

if (result.CompletedSynchronously)
{

}
}
else
{
Expand Down

0 comments on commit bcec5e8

Please sign in to comment.