I want to wait on several Pipe descriptors using select(), but the descriptors are private in the Pipe class, and thus inaccessible to derived classes. Can these be made protected, just as the socket descriptor is protected in the Socket class? This would make the Pipe class more usable and extensible. Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to wait on several Pipe descriptors using select(), but the descriptors are private in the Pipe class, and thus inaccessible to derived classes. Can these be made protected, just as the socket descriptor is protected in the Socket class? This would make the Pipe class more usable and extensible. Thanks!
Or, it not protected, perhaps simply an accessor method so as to protect the file descriptors from modification?