\brief SocketHandle public header
*/
-#ifndef HH_SocketHandle_
-#define HH_SocketHandle_ 1
+#ifndef HH_SENF_Socket_SocketHandle_
+#define HH_SENF_Socket_SocketHandle_ 1
// Custom includes
#include <memory> // std::auto_ptr
documentation. */
template <class Facet>
- Facet const & facet(); ///< Access a protocol facet
+ Facet & facet(); ///< Access a protocol facet
/**< This member will try to access the given protocol facet
of the socket. If \a Facet is a valid facet of the
protocol, it is returned, otherwise \c std::bad_cast
/**< This member replaces the corresponding FileHandle
member and returns an appropriately cast body
reference */
- SocketProtocol const & protocol() const;
+ SocketProtocol & protocol() const;
///< Access protocol class
void assign(FileHandle other); /**< \internal */