Changeset 1585

Show
Ignore:
Timestamp:
05/20/08 13:23:29 (7 months ago)
Author:
xkovah
Message:

simple string send/return seems to be working like a charm…previous crash was likely from starting the soap server after starting up the file/reg/proc monitors…moved it to before

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • capture-mod/trunk/Analyzer.cpp

    r881 r1585  
    1010    networkPacketDumper = NULL; 
    1111 
     12    printf("\n\n\nin analyzer\n\n\n"); 
    1213    onOptionChangedConnection = OptionsManager::getInstance()->connect_onOptionChanged(boost::bind(&Analyzer::onOptionChanged, this, _1)); 
    1314 
     
    1617     
    1718    server = s; 
     19 
     20    MySoapServer a = MySoapServer(); 
    1821 
    1922    processMonitor->start(); 
  • capture-mod/trunk/Analyzer.h

    r881 r1585  
    3636#include "NetworkPacketDumper.h" 
    3737#include "FileUploader.h" 
     38#include "MySoapServer.h" 
    3839 
    3940using namespace std; 
  • capture-mod/trunk/CaptureClient.cpp

    r1583 r1585  
    6060        /* Start running the Capture Client */ 
    6161        visitor = new Visitor(); 
     62        printf("entering analyzer\n"); 
    6263        analyzer =  new Analyzer(visitor, server); 
    6364        Thread* captureClientThread = new Thread(this); 
  • capture-mod/trunk/MySoapServer.cpp

    r1584 r1585  
    66MySoapServer::MySoapServer(){ 
    77 
    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"); 
    1011 
    1112} 
     
    1819   struct soap soap; 
    1920   SOCKET m, s; // master and slave sockets 
     21 
     22   printf("\n\n\nin MySoapServer run()\n"); 
     23 
    2024   soap_init(&soap); 
    2125   m = soap_bind(&soap, "192.168.0.131", 1234, 100); 
  • capture-mod/trunk/Thread.h

    r823 r1585  
    2424#pragma once 
    2525#include <windows.h> 
     26#include <stdio.h> 
    2627/* 
    2728    Class: Thread 
     
    6869        DWORD threadID; 
    6970        hThread = CreateThread(0, 0, threadProc, _threadObj, 0, &threadID); 
     71        printf("created threadID = %#x, giving it name %s\n", threadID, name); 
    7072        setThreadName( threadID, name); 
    7173        return threadID;