static void cocProxy_OnReceive(object sender, SocketProxy.ProxyClient client, byte[] buffer, int length) { LogPacket(true, buffer, length); }
static void cocProxy_OnClientConnected(object sender, SocketProxy.ProxyClient client) { //Console.WriteLine("{0} Are Now Redirect to Server by {1}", client.Client.RemoteEndPoint, client.Server.RemoteEndPoint); }
static void cocProxy_OnSend(object sender, SocketProxy.ProxyClient clinet, byte[] buffer, int length) { LogPacket(false, buffer, length); }