Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2007, 11:30:17 PM (17 years ago)
Author:
nicolasc
Message:

cleaned up network, builds with CML

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/merger/src/network/dummyclient2.cc

    r278 r285  
    77#include <string>
    88#include <enet/enet.h>
    9 #include "network/PacketManager.h"
    10 #include "network/ClientConnection.h"
     9#include "PacketManager.h"
     10#include "ClientConnection.h"
    1111
    1212using namespace network;
     
    2525
    2626  client.createConnection();
    27  
     27
    2828  if(client.waitEstablished(10000))
    2929    std::cout << "Connection established" << std::endl;
    3030  else
    3131    std::cout << "Connection failed" << std::endl;
    32  
     32
    3333  ENetPacket *packet;
    3434  ENetEvent event;
    35  
    36  
    37  
     35
     36
     37
    3838  for(int i=0; i<10; i++){
    3939        // weihnachtsmann bringt packete
Note: See TracChangeset for help on using the changeset viewer.