Changeset 160

Show
Ignore:
Timestamp:
03/13/09 16:44:03 (15 years ago)
Author:
bhilburn
Message:

Added a couple more LOGs to make the output easier to trace.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/branches/bhilburn/src/policy_engines/policy_demo.cpp

    r156 r160  
    2020#include "vtcross/components.h" 
    2121#include "vtcross/containers.h" 
     22#include "vtcross/debug.h" 
    2223#include "vtcross/error.h" 
    2324#include "vtcross/socketcomm.h" 
    24  
    25  
    26 #define CR_PORT 30002 
    2725 
    2826 
     
    3331       ERROR(1, "Usage: %s hostname port\n", argv[0]); 
    3432     
     33    LOG("Opening the client socket.\n"); 
    3534    int32_t socketFD = ClientSocket(argv[1], argv[2]); 
    3635 
     
    3837    policyEngine.RegisterComponent(socketFD); 
    3938 
     39    LOG("Waiting for signal...\n"); 
    4040    while(1) { 
    4141        policyEngine.WaitForSignal(socketFD);