#include <unistd.h>
#endif
+#include <iostream>
+
#include <simgear/debug/logstream.hxx>
#include "sg_socket.hxx"
sprintf( wbuf, "hello world\n" );
int length = channel->writestring( wbuf );
- cout << "writestring returned " << length << "\n";
+ std::cout << "writestring returned " << length << "\n";
return true;
}
TcpClient client( "localhost", "5500" );
if (!client.open())
{
- cout << "client open failed\n";
+ std::cout << "client open failed\n";
return 0;
}