Possible Duplicate:
java socket / output stream writes : do they block?
When writing to a DataOutputStream attached to a Socket, for example in a Server-to-Client connection, does the .writeInt() method wait for the data to be written, if, for example, the Client/Server connection is very slow - would this make the .writeInt() method wait?