The S60 platform buffers bytes written to the output stream. If your
application requires that bytes written to the output stream, by sent immediately,
then call the os.flush
method right after the os.write
method
to ensure that buffered output bytes are written out.
OutputStream os; ... os.write("hello".getBytes()); os.flush(); ...