X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketProtocol.hh;h=1f962e353e0cc9a5b855a412305c4daaa28b1bd5;hb=1cf24483a4b520177bfa539d9601749be6aef2ce;hp=6ce9c6119bb52f48c2f7031d1cc258fe535cd6e8;hpb=c13146edc1b57cc60f102bcfd1a7a602ecec261f;p=senf.git diff --git a/Socket/SocketProtocol.hh b/Socket/SocketProtocol.hh index 6ce9c61..1f962e3 100644 --- a/Socket/SocketProtocol.hh +++ b/Socket/SocketProtocol.hh @@ -155,7 +155,9 @@ namespace senf { /**< This member will check in a (very, sigh) protocol dependent way, how many bytes are guaranteed to be readable from the socket without blocking even if the - socket is blocking. */ + socket is blocking. If the socket does not support + reading (viz. NotReadablePolicy is set), this member + should always return \c 0.*/ virtual bool eof() const = 0; ///< Check for end-of-file condition /**< This is another check which (like available()) is @@ -277,4 +279,6 @@ namespace senf { // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: