X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FBSDSocketProtocol.hh;h=fbffeba855e5254fe03d8b9d0f0492ffa5264a94;hb=3cb0a2ff50b8f1111da34b696e64fb1b037cd683;hp=341b70ba22e469317b0f12059ec4c2046229212e;hpb=fff433ccd27c330133cc4a838e84d37541e93b04;p=senf.git diff --git a/Socket/Protocols/BSDSocketProtocol.hh b/Socket/Protocols/BSDSocketProtocol.hh index 341b70b..fbffeba 100644 --- a/Socket/Protocols/BSDSocketProtocol.hh +++ b/Socket/Protocols/BSDSocketProtocol.hh @@ -71,6 +71,11 @@ namespace senf { sets the TOS field. \param[in] value new socket priority */ + int error() const; ///< Get and clear pending socket error + /**< This call will get and clear a pending socket + error. This includes asynchronous errors received via + the network (e.g. via ICMP). */ + unsigned rcvbuf() const; ///< Check receive buffer size /**< \returns size of receive buffer in bytes \internal Linux doubles the buffer size internally when