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:
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.