Changeset 632 for code/branches/FICN/src/network/dummyclient3.cc
- Timestamp:
- Dec 19, 2007, 12:28:42 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/dummyclient3.cc
r601 r632 28 28 std::cout << "connection established" << std::endl; 29 29 else std::cout << "problems establishing connection" << std::endl; 30 30 char message[10000]; 31 char signs[] = "abcdefghijklmnopqrstuvwxy"; 31 32 while (true) { 32 33 client.tick(0); 33 std::cout << "your message: "; 34 std::getline( std::cin, str ); 35 client.sendChat( str ); 36 std::cout << "sent message" << std::endl; 34 35 std::cout << "your message2: "; 36 for ( int i=0; i<9999; i++ ) { 37 message[i] = signs[0]; 38 } 39 message[9999] = 'z'; 40 std::string str( message ); 41 client.sendChat( str ); 42 std::cout << str << std::endl; 43 std::cin.get(); std::cin.get(); 37 44 } 38 45
Note: See TracChangeset
for help on using the changeset viewer.