HC icon indicating copy to clipboard operation
HC copied to clipboard

Proxy Emulator High CPU usage

Open exmex opened this issue 7 years ago • 3 comments

Screenshot was taken while Proxy Emulator was idle.

exmex avatar Mar 24 '18 11:03 exmex

you need change this code in Main function. Main is in programs.cs while (true) { Thread.Sleep(50); }

lowkeywx avatar May 22 '20 15:05 lowkeywx

The server doesn't seem to be working properly

lowkeywx avatar May 22 '20 15:05 lowkeywx

I left out one piece of code. var bytesRead = _ns.EndRead(result); if (bytesRead == 0) { Thread.Sleep(10); //i add this code, modus vivendi _buffer = new byte[2048]; _ns.BeginRead(_buffer, 0, 2048, OnPacket, null); return; }

lowkeywx avatar May 22 '20 16:05 lowkeywx