Constructor
Constructor
Sets the buffer size to s. If there are currently more than s bytes of data in the buffer, flush() is called before setting the size.
Flushes the buffer and sends all pending data.
Clears any pending data in the buffer.
Sends data_.
Default output buffer size (64 kB)
Set to true to make send() send all data immediately if the TCP_CORK feature is enabled. This has the same effect as calling corkFlush() after each send().
Output device
Number of bytes sent so far
Writes data to the output conduit. Whenever the output conduit is not ready for writing, the output writing fiber is suspended and continues writing on resume.
Enables or disables the TCP_CORK feature.
Tells whether the TCP_CORK feature is currently enabled.
Sends all pending data immediately. May be overridden by a subclass; calls corkFlush() by default.
Clears any pending data in the buffer.
Attempts to write data to the output conduit. The output conduit may or may not write all elements of data.