// Custom includes
#include <string>
-#include <exception>
#include <netinet/in.h>
-#include "../../SocketPolicy.hh"
-#include "../../ClientSocketHandle.hh"
-#include "../../CommunicationPolicy.hh"
-#include "../BSDAddressingPolicy.hh"
-#include "../BSDSocketAddress.hh"
+#include <senf/Socket/Protocols/BSDAddressingPolicy.hh>
+#include <senf/Socket/Protocols/BSDSocketAddress.hh>
#include "INet4Address.hh"
#include "INet6Address.hh"
//#include "INetAddressing.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
public:
static short const addressFamily = AF_INET;
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
///\name Structors and default members
- ///@{
+ //\{
INet4SocketAddress();
explicit INet4SocketAddress(std::string const & addr); ///< Set address and port
INet4SocketAddress(const INet4SocketAddress& other);
INet4SocketAddress& operator=(const INet4SocketAddress& other);
- ///@}
- ///////////////////////////////////////////////////////////////////////////
+ //\}
+ //-////////////////////////////////////////////////////////////////////////
INet4Address address() const; ///< Return address
unsigned port() const; ///< Return port number
public:
static short const addressFamily = AF_INET6;
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
///\name Structors and default members
- ///@{
+ //\{
INet6SocketAddress(); ///< Create empty instance
explicit INet6SocketAddress(std::string const & addr,
INet6SocketAddress(const INet6SocketAddress& other);
INet6SocketAddress& operator=(const INet6SocketAddress& other);
- ///@}
- ///////////////////////////////////////////////////////////////////////////
+ //\}
+ //-////////////////////////////////////////////////////////////////////////
INet6Address address() const; ///< Get printable address representation
void address(INet6Address const & addr); ///< Change address
std::istream & operator>>(std::istream & is, INet6SocketAddress & addr);
/// \addtogroup policy_impl_group
- /// @{
+ //\{
/** \brief Addressing policy supporting IPv4 addressing
using BSDAddressingPolicyMixin<INet6SocketAddress>::bind;
};
- /// @}
+ //\}
}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#include "INetAddressing.cci"
//#include "INetAddressing.ct"
//#include "INetAddressing.cti"
//#include "INetAddressing.mpp"
#endif
-
+\f
// Local Variables:
// mode: c++
// fill-column: 100