protected void OnClientSent(IAsyncResult ar)
{
try {
int Ret = ClientSocket.EndSend(ar);
if (Ret > 0) {
DestinationSocket.BeginReceive(RemoteBuffer, 0, RemoteBuffer.Length, SocketFlags.None, new AsyncCallback(this.OnRemoteReceive), DestinationSocket);
return;
}
} catch {}
Dispose();
}