X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FBufferingPolicy.hh;h=02d61425929e5ab2c15cf5749781583e240b53be;hb=81ffa1c459b96dd44472bcef37e1e373934ee138;hp=90ba22732e9a540a3334cf78fe86d29671da678d;hpb=85ab07d100a382467a42e19d741d403a7a96c951;p=senf.git diff --git a/Socket/BufferingPolicy.hh b/Socket/BufferingPolicy.hh index 90ba227..02d6142 100644 --- a/Socket/BufferingPolicy.hh +++ b/Socket/BufferingPolicy.hh @@ -38,7 +38,17 @@ namespace senf { /// \addtogroup policy_impl_group /// @{ - + + /** \brief BufferingPolicy for non-buffered sockets + + This is different from UndefinedBufferingPolicy (which is the + same as BufferingPolicyBase). This policy class defines the + buffering policy -- it explicitly states, that the socket does not + support buffering. + */ + struct NoBufferingPolicy : public BufferingPolicyBase + {}; + /** \brief BufferingPolicy implementing standard socket buffering This policy class implements standard BSD socket buffering. @@ -84,4 +94,6 @@ namespace senf { // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: