Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5649 in orxonox.OLD for branches/network/src/subprojects


Ignore:
Timestamp:
Nov 20, 2005, 2:48:33 AM (19 years ago)
Author:
patrick
Message:

network: added even more interface, more function to the network_manager and sync test class

Location:
branches/network/src/subprojects/network
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/subprojects/network/Makefile.am

    r5619 r5649  
    2020                  $(MAINSRCDIR)/util/loading/load_param.cc \
    2121                  $(MAINSRCDIR)/lib/util/substring.cc \
    22                   $(MAINSRCDIR)/lib/util/helper_functions.cc
     22                  $(MAINSRCDIR)/lib/util/helper_functions.cc
     23
    2324
    2425
  • branches/network/src/subprojects/network/network_unit_test.cc

    r5647 r5649  
    88#include "network_manager.h"
    99#include "network_socket.h"
     10#include "network_stream.h"
    1011#include "synchronizeable.h"
    1112
     
    124125  Synchronizeable sync;
    125126 
     127 
    126128  /* create the network manager */
    127129  NetworkManager* nm = new NetworkManager();
     
    130132  nm->initialize();
    131133
     134  /* create a server stream */
     135  nm->createServer(sync, 9999);
     136 
    132137  /* esatblish a connection */
    133138  nm->establishConnection(ip, sync);
     139
     140  /* synchronize the data 1 time (increment for longer tests) */
     141  for( int i = 0; i < 1; i++) {
     142    nm->synchronize();
     143  }
    134144 
    135145  /* delete the network manager again */
Note: See TracChangeset for help on using the changeset viewer.