X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FINetAddressing.hh;h=9b8b160aaae7f1d067a2d6ee63ac7e36ac80adac;hb=70256cc93f59f5d2c9b3428775a181e5e225bfc5;hp=28a8a5915026ec4376aa559513d3b5d9f189cc5f;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Socket/INetAddressing.hh b/Socket/INetAddressing.hh index 28a8a59..9b8b160 100644 --- a/Socket/INetAddressing.hh +++ b/Socket/INetAddressing.hh @@ -35,12 +35,16 @@ //#include "INetAddressing.mpp" ///////////////////////////////hh.p//////////////////////////////////////// -namespace satcom { -namespace lib { +namespace senf { - // TODO: Implement real INet4Address datatype and - // rename this one to INet4SockAddress ... + /** \brief + + \todo Implement real INet4Address datatype and + rename this one to INet4SockAddress ... + + \todo Implement more complete interface + */ class INet4Address { public: @@ -55,8 +59,6 @@ namespace lib { std::string host() const; unsigned port() const; - // TODO: Interface - void clear(); struct sockaddr * sockaddr_p(); @@ -71,9 +73,12 @@ namespace lib { std::ostream & operator<<(std::ostream & os, INet4Address const & addr); + /** \brief + + \todo Implement + */ class INet6Address { - // TODO: Implement }; struct INet4AddressingPolicy @@ -88,17 +93,19 @@ namespace lib { using GenericAddressingPolicy::bind; }; + /** \brief + + \todo Implement + */ struct INet6AddressingPolicy : public AddressingPolicyBase { typedef INet6Address Address; - - // TODO: Implement }; struct InvalidINetAddressException : public std::exception { char const * what() const throw() { return "invalid inet address"; } }; -}} +} ///////////////////////////////hh.e//////////////////////////////////////// #include "INetAddressing.cci" @@ -110,5 +117,5 @@ namespace lib { // Local Variables: // mode: c++ -// c-file-style: "satcom" +// c-file-style: "senf" // End: