Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5609 in orxonox.OLD for branches/network/src


Ignore:
Timestamp:
Nov 16, 2005, 4:23:17 PM (19 years ago)
Author:
patrick
Message:

network: some more debug in info, help argument implemented (and empty)

Location:
branches/network/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_manager.cc

    r5605 r5609  
    121121NetworkStream& NetworkManager::establishConnection(/* address, port, object reference*/)
    122122{
    123   PRINTF(0)("Creating network socket\n");
     123  PRINTF(0)("Establish connection...\n");
    124124  /* creating a new network stream, it will register itself automaticaly to the class list */
    125125  NetworkStream* netStream = new NetworkStream();
  • branches/network/src/subprojects/network/network_unit_test.cc

    r5580 r5609  
    44#include <stdio.h>
    55#include "shell_buffer.h"
    6 
     6#include "class_list.h"
    77
    88#include "network_manager.h"
     
    1212
    1313int startHelp(int argc, char** argv)
    14 {}
     14{
     15  printf("Network is a network unit test\n");
     16  printf(" --help:           this output\n");
     17  printf("\n");
     18}
    1519
    1620/**
     
    3034  }
    3135
    32   new NetworkManager();
     36  /* create the network manager */
     37  NetworkManager* nm = new NetworkManager();
     38 
     39  /* esatblish a connection */
     40  nm->establishConnection();
     41
     42  //ClassList::debug(3, 0);
    3343
    3444  return 0;
Note: See TracChangeset for help on using the changeset viewer.