X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/16d0d07b6b60083606697f59b9ff3ae6692b09c3..9a61d03554f90cad51c1e367f20cbf64f90bd75a:/process.h?ds=sidebyside diff --git a/process.h b/process.h index 78fc507..24d4c39 100644 --- a/process.h +++ b/process.h @@ -98,7 +98,9 @@ private: void send_all(); // Returns true if there remains neighbors to listen for - bool may_receive() { return ctrl_close_pending || data_close_pending; } + bool may_receive() const { + return ctrl_close_pending || data_close_pending; + } // Receive procedure // Parameter "timeout" may be 0 for non-blocking operation, -1 for