コード例 #1
0
        //OnPacketReceivedDelegate onPacketReceived
        public static ReceivePackets CreateReceivePackets(string deviceName, string dumpFile = null, string filter = null)
        {
            ReceivePackets receivePackets = new ReceivePackets(deviceName);

            receivePackets.SetDumpFile(dumpFile);
            receivePackets.SetFilter(filter);
            //receivePackets.OnPacketReceived = onPacketReceived;
            return(receivePackets);
        }
コード例 #2
0
ファイル: TcpStream.cs プロジェクト: labeuze/source
 private void _Analyze(ReceivePackets receivePackets, string directory)
 {
     _directory = directory;
     _ppacketManager = new PPacketManager();
     try
     {
         receivePackets.Receive(PacketHandle);
     }
     finally
     {
         foreach(TcpStream tcpStream in _tcpStreamList.Values)
             tcpStream.Dispose();
     }
 }
コード例 #3
0
 private void _Analyze(ReceivePackets receivePackets, string directory)
 {
     _directory      = directory;
     _ppacketManager = new PPacketManager();
     try
     {
         receivePackets.Receive(PacketHandle);
     }
     finally
     {
         foreach (TcpStream tcpStream in _tcpStreamList.Values)
         {
             tcpStream.Dispose();
         }
     }
 }
コード例 #4
0
ファイル: ReceivePackets.cs プロジェクト: labeuze/source
 //OnPacketReceivedDelegate onPacketReceived
 public static ReceivePackets CreateReceivePackets(string deviceName, string dumpFile = null, string filter = null)
 {
     ReceivePackets receivePackets = new ReceivePackets(deviceName);
     receivePackets.SetDumpFile(dumpFile);
     receivePackets.SetFilter(filter);
     //receivePackets.OnPacketReceived = onPacketReceived;
     return receivePackets;
 }
コード例 #5
0
ファイル: TcpStream.cs プロジェクト: labeuze/source
 public static void Analyze(ReceivePackets receivePackets, string directory)
 {
     AnalyzeTcpStream tcpReconstruct = new AnalyzeTcpStream();
     tcpReconstruct._Analyze(receivePackets, directory);
 }
コード例 #6
0
        public static void Analyze(ReceivePackets receivePackets, string directory)
        {
            AnalyzeTcpStream tcpReconstruct = new AnalyzeTcpStream();

            tcpReconstruct._Analyze(receivePackets, directory);
        }