sock = new Socket(adresseIPServeur, portServeur);
}
catch (IOException e) {
- System.out.println("IOException: " + e);
+ System.err.println("IOException: " + e);
}
InputStream IStream = null;
try {
IStream = sock.getInputStream();
}
catch (IOException e) {
- System.out.println("IOException: " + e);
+ System.err.println("IOException: " + e);
}
InputStreamReader IMesg = new InputStreamReader(IStream);
lecture = new BufferedReader(IMesg);
OStream = sock.getOutputStream();
}
catch (IOException e) {
- System.out.println("IOException: " + e);
+ System.err.println("IOException: " + e);
}
ecriture = new PrintWriter(OStream);
}
line = lecture.readLine();
}
catch (IOException e) {
- System.out.println("IOException: " + e);
+ System.err.println("IOException: " + e);
}
return line;
}
lecture.close();
}
catch (IOException e) {
- System.out.println("IOException: " + e);
+ System.err.println("IOException: " + e);
}
}