Changeset 1585
- Timestamp:
- 05/20/08 13:23:29 (7 months ago)
- Files:
-
- capture-mod/trunk/Analyzer.cpp (modified) (2 diffs)
- capture-mod/trunk/Analyzer.h (modified) (1 diff)
- capture-mod/trunk/CaptureClient.cpp (modified) (1 diff)
- capture-mod/trunk/MySoapServer.cpp (modified) (2 diffs)
- capture-mod/trunk/Thread.h (modified) (2 diffs)
- capture-mod/trunk/install/CaptureBAT.exe (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
capture-mod/trunk/Analyzer.cpp
r881 r1585 10 10 networkPacketDumper = NULL; 11 11 12 printf("\n\n\nin analyzer\n\n\n"); 12 13 onOptionChangedConnection = OptionsManager::getInstance()->connect_onOptionChanged(boost::bind(&Analyzer::onOptionChanged, this, _1)); 13 14 … … 16 17 17 18 server = s; 19 20 MySoapServer a = MySoapServer(); 18 21 19 22 processMonitor->start(); capture-mod/trunk/Analyzer.h
r881 r1585 36 36 #include "NetworkPacketDumper.h" 37 37 #include "FileUploader.h" 38 #include "MySoapServer.h" 38 39 39 40 using namespace std; capture-mod/trunk/CaptureClient.cpp
r1583 r1585 60 60 /* Start running the Capture Client */ 61 61 visitor = new Visitor(); 62 printf("entering analyzer\n"); 62 63 analyzer = new Analyzer(visitor, server); 63 64 Thread* captureClientThread = new Thread(this); capture-mod/trunk/MySoapServer.cpp
r1584 r1585 6 6 MySoapServer::MySoapServer(){ 7 7 8 // MySoapServerThread = new Thread(this); 9 // MySoapServerThread->start("MySoapServer"); 8 printf("\n\n\nStarting MySoapServer thread\n"); 9 MySoapServerThread = new Thread(this); 10 MySoapServerThread->start("MySoapServer"); 10 11 11 12 } … … 18 19 struct soap soap; 19 20 SOCKET m, s; // master and slave sockets 21 22 printf("\n\n\nin MySoapServer run()\n"); 23 20 24 soap_init(&soap); 21 25 m = soap_bind(&soap, "192.168.0.131", 1234, 100); capture-mod/trunk/Thread.h
r823 r1585 24 24 #pragma once 25 25 #include <windows.h> 26 #include <stdio.h> 26 27 /* 27 28 Class: Thread … … 68 69 DWORD threadID; 69 70 hThread = CreateThread(0, 0, threadProc, _threadObj, 0, &threadID); 71 printf("created threadID = %#x, giving it name %s\n", threadID, name); 70 72 setThreadName( threadID, name); 71 73 return threadID;
