Update
This commit is contained in:
parent
53aba72bbe
commit
614e2763a2
@ -126,7 +126,7 @@ namespace AsyncRAT_Sharp.Sockets
|
||||
await MS.WriteAsync(buffer, 0, buffer.Length);
|
||||
|
||||
Client.Poll(-1, SelectMode.SelectWrite);
|
||||
Client.BeginSend(MS.ToArray(), 0, Convert.ToInt32(MS.Length), SocketFlags.None, new AsyncCallback(EndSend), null);
|
||||
Client.BeginSend(MS.ToArray(), 0, Convert.ToInt32(MS.Length), SocketFlags.None, EndSend, null);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
@ -219,7 +219,7 @@ namespace Client
|
||||
MS.Write(buffer, 0, buffer.Length);
|
||||
|
||||
Client.Poll(-1, SelectMode.SelectWrite);
|
||||
Client.BeginSend(MS.ToArray(), 0, Convert.ToInt32(MS.Length), SocketFlags.None, new AsyncCallback(EndSend), null);
|
||||
Client.BeginSend(MS.ToArray(), 0, Convert.ToInt32(MS.Length), SocketFlags.None, EndSend, null);
|
||||
}
|
||||
}
|
||||
catch
|
||||
|
Loading…
x
Reference in New Issue
Block a user