View Single Post
  #1 (permalink)  
Old 11-06-2007, 09:38 PM
ravian ravian is offline
Senior Member
 
Join Date: Nov 2007
Posts: 115
ravian is on a distinguished road
Socket programming - accepting files
I have written a Socket Server that is listening at some port. I am getting input from my client using DataInputStream. Review the code below:

Code:
DataInputStream input; try { input = new DataInputStream(MyClient.getInputStream()); } catch (IOException e) { System.out.println(e); }
I want the user to send me File objects as well. Is this possible which the code above or I have to make some changes?

Thanks for your time.
Reply With Quote
Sponsored Links