Changeset 285 for code/branches/merger/src/network/dummyclient2.cc
- Timestamp:
- Nov 27, 2007, 11:30:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merger/src/network/dummyclient2.cc
r278 r285 7 7 #include <string> 8 8 #include <enet/enet.h> 9 #include " network/PacketManager.h"10 #include " network/ClientConnection.h"9 #include "PacketManager.h" 10 #include "ClientConnection.h" 11 11 12 12 using namespace network; … … 25 25 26 26 client.createConnection(); 27 27 28 28 if(client.waitEstablished(10000)) 29 29 std::cout << "Connection established" << std::endl; 30 30 else 31 31 std::cout << "Connection failed" << std::endl; 32 32 33 33 ENetPacket *packet; 34 34 ENetEvent event; 35 36 37 35 36 37 38 38 for(int i=0; i<10; i++){ 39 39 // weihnachtsmann bringt packete
Note: See TracChangeset
for help on using the changeset viewer.