X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Ftcp_client.cxx;h=4bd9b945a54696273eca0325014e35c5f27c8f03;hb=72bb9f4d5d6d861902a5779381e4ebe977db1df1;hp=d1d7f8c7f9edc6e878bdf16a270871469bb2c47d;hpb=78411d29a7fdd606e50a81d03d6e8a08dcb15828;p=simgear.git diff --git a/simgear/io/tcp_client.cxx b/simgear/io/tcp_client.cxx index d1d7f8c7..4bd9b945 100644 --- a/simgear/io/tcp_client.cxx +++ b/simgear/io/tcp_client.cxx @@ -1,5 +1,5 @@ #include -#include STL_IOSTREAM +#include #ifdef _WIN32 #include @@ -7,6 +7,8 @@ #include #endif +#include + #include #include "sg_socket.hxx" @@ -49,7 +51,7 @@ TcpClient::process() sprintf( wbuf, "hello world\n" ); int length = channel->writestring( wbuf ); - cout << "writestring returned " << length << "\n"; + std::cout << "writestring returned " << length << "\n"; return true; } @@ -67,7 +69,7 @@ main() TcpClient client( "localhost", "5500" ); if (!client.open()) { - cout << "client open failed\n"; + std::cout << "client open failed\n"; return 0; }