X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FBufferingPolicy.hh;h=02d61425929e5ab2c15cf5749781583e240b53be;hb=81ffa1c459b96dd44472bcef37e1e373934ee138;hp=3d353dda206049fdaac50211988b5d9e9e251d6d;hpb=145f6a7d0f3a6aaa77b3625351c952d24cb0b8a1;p=senf.git diff --git a/Socket/BufferingPolicy.hh b/Socket/BufferingPolicy.hh index 3d353dd..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.