Again some doc-build fixes
[senf.git] / Socket / INetAddressing.cc
index b2e8edf..3081cc5 100644 (file)
@@ -26,7 +26,7 @@
 //#include "INetAddressing.ih"
 
 // Custom includes
-#include <strstream>
+#include <sstream>
 #include <string.h>
 #include <sys/socket.h>
 #include <boost/lexical_cast.hpp>
 #define prefix_
 ///////////////////////////////cc.p////////////////////////////////////////
 
-prefix_ satcom::lib::INet4Address::INet4Address(std::string host, unsigned port)
+prefix_ senf::INet4Address::INet4Address(std::string host, unsigned port)
 {
     clear();
-    // TODO: gethostbyname einbauen
+    /** \todo  gethostbyname support */
     if (::inet_aton(host.c_str(), &addr_.sin_addr) == 0)
         throw InvalidINetAddressException();
     addr_.sin_port = htons(port);
 }
 
-prefix_ std::string satcom::lib::INet4Address::str()
+prefix_ std::string senf::INet4Address::str()
     const
 {
     std::stringstream s;
@@ -52,16 +52,16 @@ prefix_ std::string satcom::lib::INet4Address::str()
     return s.str();
 }
 
-prefix_ void satcom::lib::INet4Address::clear()
+prefix_ void senf::INet4Address::clear()
 {
     ::memset(&addr_,0,sizeof(addr_));
     addr_.sin_family = AF_INET;
 }
 
-prefix_ void satcom::lib::INet4Address::assignString(std::string address)
+prefix_ void senf::INet4Address::assignString(std::string address)
 {
     clear();
-    // TODO: gethostbyname einbauen
+    /** \todo  gethostbyname support */
     unsigned i = address.find(':');
     if (i == std::string::npos)
         throw InvalidINetAddressException();
@@ -83,5 +83,5 @@ prefix_ void satcom::lib::INet4Address::assignString(std::string address)
 \f
 // Local Variables:
 // mode: c++
-// c-file-style: "satcom"
+// c-file-style: "senf"
 // End: