[Home]BoostSocket/SocketSetConcept

BOOST WIKI | BoostSocket | RecentChanges | Preferences | Page List | Links List

Difference (from prior major revision) (no other diffs)

Changed: 1,186c1,27

SocketSet concept




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


SocketSet concept

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

Requirements for user

Set membership

Active set members


BOOST WIKI | BoostSocket | RecentChanges | Preferences | Page List | Links List
Edit text of this page | View other revisions
Last edited December 18, 2004 12:23 pm (diff)
Search:
Disclaimer: This site not officially maintained by Boost Developers