private void OnSendComplete(SocketAsyncEventArgs e) { if (this.socket == null) { return; } if (this.OnSend == null) { return; } this.OnSend(e.BytesTransferred, e.SocketError); }