X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FTCPProtocol.hh;h=9048e3e0bf0a1553b09fbd8d9106e4d6aabd3650;hb=9a988902090d28007578e93bffd809f6bd913155;hp=721a6d771403266704f198f014b316a04b938689;hpb=a4911c1fd3f53dc2a7bda6c1d2b00bdc4b864cff;p=senf.git diff --git a/Socket/TCPProtocol.hh b/Socket/TCPProtocol.hh index 721a6d7..9048e3e 100644 --- a/Socket/TCPProtocol.hh +++ b/Socket/TCPProtocol.hh @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -39,9 +39,9 @@ namespace senf { /// @{ /** \brief Protocol facat to support TCP operations - - This protocol facet provides all those protocol functions, - which are available on any TCP socket. + + This protocol facet provides all those protocol functions, + which are available on any TCP socket. */ class TCPProtocol : public virtual SocketProtocol @@ -50,22 +50,22 @@ namespace senf { bool nodelay() const; ///< Check current \c SO_NODELAY status void nodelay(bool value) const; ///< Set \c SO_NODELAY status /**< Enabling \c SO_NODELAY will disable the NAGLE - algorithm (which aggregates multiple writes into a - single network packet). Enabling nodelay() optimizes - the repsonse time at the expense of the bandwidth - efficiency. - \param[in] value \c SO_NODELAY state */ + algorithm (which aggregates multiple writes into a + single network packet). Enabling nodelay() optimizes + the repsonse time at the expense of the bandwidth + efficiency. + \param[in] value \c SO_NODELAY state */ unsigned siocinq() const; ///< Return current size of the input queue unsigned siocoutq() const; ///< Return current size of the output queue - ///\name Abstract Interface Implementation - ///@{ + ///\name Abstract Interface Implementation + ///@{ unsigned available() const; bool eof() const; - ///@} + ///@} }; /// @} @@ -80,6 +80,8 @@ namespace senf { // Local Variables: // mode: c++ -// c-file-style: "senf" // fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" // End: