socks5.Socks5Server.Client_onDataReceived C# (CSharp) Метод

Client_onDataReceived() публичный Метод

public Client_onDataReceived ( object sender, DataEventArgs e ) : void
sender object
e socks5.TCP.DataEventArgs
Результат void
        void Client_onDataReceived(object sender, DataEventArgs e)
        {
            //Technically we are receiving data from the client and sending it to the remote server, so it's being "sent"
            this.Stats.AddBytes(e.Count, ByteType.Sent);
            this.Stats.AddPacket(PacketType.Sent);
        }