Constructor.
Sends all pending output data immediately. Calling this method has an effect only if the I/O device is a TCP socket.
Populates data with data read from the I/O device.
Calls consume with data read from the I/O device.
Populates value with value.sizeof bytes read from the I/O device.
Removes any remaining data from I/O buffers, sends any pending output data immediately if possible, and removes the epoll registration of the I/O device, if any.
Writes data to the I/O device. If the I/O device is a TCP socket then data may be buffered for at most 200ms using the TCP Cork feature of Linux. In this case call flush() to write all pending data immediately.
Writes the byte data of value to the I/O device. If the I/O device is a TCP socket then the data may be buffered for at most 200ms using the TCP Cork feature of Linux. In this case call flush() to write all pending data immediately.
I/O device
Task select client to wait for I/O events
ditto