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.
data to write
IOException if no data were sent nor will it be possible later: - IOWarning if the remote hung up, - IOError (IOWarning subclass) on I/O error.
See Implementation
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.