removed some useless spaces; not very important, I know :)
[senf.git] / Examples / TCPClientServer / client.cc
index 0323d94..50f4ec7 100644 (file)
@@ -1,8 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2007
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+//     Thorsten Horstmann <tho@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -23,8 +24,7 @@
 // Custom includes
 #include <iostream>
 #include <sstream>
-#include "Socket/Protocols/INet/TCPSocketHandle.hh"
-#include "Socket/Protocols/INet/INetAddressing.hh"
+#include <senf/Socket/Protocols/INet.hh>
 
 int main(int argc, char const * argv[])
 {
@@ -33,20 +33,20 @@ int main(int argc, char const * argv[])
             senf::TCPv4ClientSocketHandle sock;
             sock.connect(senf::INet4SocketAddress("127.0.0.1:4243"));
             sock.protocol().linger(true);
-            
+
             std::stringstream s;
             s << i++;
             sock.write(s.str());
 
             sock.close();
-            
+
             std::cout << i << std::endl;
         }
     }
     catch (std::exception const & ex) {
         std::cerr << senf::prettyName(typeid(ex)) << ": " << ex.what() << "\n";
     }
-    
+
     return 0;
 }