BOOST WIKI | BoostSocket | RecentChanges | Preferences | Page List | Links List
The SocketSet concept represents a set that can be select'ed on.
This should work with OS level descriptors to allow the concept to be implemented independently
of the rest of the library.
Requirements for library implementation
- fd_set* fdset() - return set for passing to platform's select
- width() - return width for passing to platform's select
Requirements for user
- CopyConstructable?
- Assignable
Set membership
- void clear() - clear the set
- void remove(socket type socket) - remove a socket from the set
- void add(socket type socket) - add a socket to the set
Active set members
- bool is_set(socket type socket) const - check if socket is active
- iterator begin() - begin iterator over active sockets
- iterator end() - end iterator over active sockets
Disclaimer: This site not officially maintained by Boost Developers