- Timestamp:
- 11/20/08 17:09:46 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/branches/trnewman/CR_shell/src/socket/simple_client_main.cpp
r35 r65 13 13 std::string reply; 14 14 15 while(1) { 15 16 try 16 17 { 17 client_socket << "Test message.";18 18 client_socket >> reply; 19 19 } … … 22 22 std::cout << "We received this response from the server:\n\"" << reply << "\"\n";; 23 23 24 } 24 25 } 25 26 catch ( SocketException& e )