DataOutputStream and DataInputStream example