• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use socket to write to a file

 
priowan naratha
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can I export what happen in the socket to a file:
os = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));
I'd like to use FileWriter, how can I do that?
Thank you very much,
priowan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic