Socket_fdset

class Socket_fdset

Inheritance diagram

Inheritance diagram of Socket_fdset

bool IsSetFor(Socket_IP const &incon) const

check to see if a socket object has been marked for reading

int WaitForError(bool zeroFds, uint32_t sleep_time = 4294967295)

This is the function that will wait till one of the sockets is in error state

int WaitForRead(bool zeroFds, uint32_t sleep_time = 4294967295)
int WaitForRead(bool zeroFds, Time_Span const &timeout)
int WaitForWrite(bool zeroFds, uint32_t sleep_time = 4294967295)

This is the function that will wait till one of the sockets is ready for writing

Socket_fdset(void)
Socket_fdset(Socket_fdset const&) = default

The constructor

void clear(void)

Marks the content as empty

void setForSocket(Socket_IP const &incon)