Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2007, 5:45:12 PM (16 years ago)
Author:
scheusso
Message:

some cmake hacking, some testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/dummyclient3.cc

    r438 r441  
    88int main(){
    99  network::PacketGenerator pck;
    10   const int PORT = 55556
     10  const int PORT = 55556;
    1111  std::cout << "Enter address of the server xxx.xxx.xxx.xxx (enter for localhost)" << std::endl;
    1212  std::string str;
     
    1818  Client client( str, PORT );
    1919  if ( client.establishConnection() )
    20           cout << "connection established" << endl;
    21   else cout << "problems establishing connection" << endl;
     20          std::cout << "connection established" << std::endl;
     21  else std::cout << "problems establishing connection" << std::endl;
    2222 
    2323  while (true) {
    2424          client.update();
    25           cout << "your message: ";
    26           getline( cin, str );
     25          std::cout << "your message: ";
     26          std::getline( std::cin, str );
    2727          client.sendChat( str );
    2828  }
Note: See TracChangeset for help on using the changeset viewer.