An abstract mechanism for writing data to a stream via a buffer, for improved writing performance
A mechanism for writing abstract data to a stream
A bufferedoutputstream is more appropriate that a dataoutputstream imho
Why not successful " HTTP GET request with socket "?
It will wrap the original stream in a bufferedoutputstream which is more efficient which is then wrapped into a dataoutputstream which offers additional nice features like writeint writelong and so on
Java TCP socket: data transfer is slow