Пример #1
0
 public FileReader(PacketContainer pc, int port)
 {
     this.port = port;
     this.packetContainer = pc;
     this.gameSniffer = new L2GameSniffer();
     this.clientStr = new L2PacketStream();
     this.serverStr = new L2PacketStream();
 }
Пример #2
0
 /// <summary>
 /// Stellt eine Klasse da die das Sniffen von Packets regelt
 /// </summary>
 /// <param name="port">Der Port auf den der TCPStreamAssembler horchen soll</param>
 public SnifferControl(int port)
 {
     this.port = port;
     this.gameSniffer = new L2GameSniffer();
     this.clientStr = new L2PacketStream();
     this.serverStr = new L2PacketStream();
     // TODO: wenn keine devices gefunden wurden, Meldung
 }