Implementation TCP

This commit is contained in:
Nabil Moukhlis 2020-12-05 12:42:30 +01:00
parent d9173ea171
commit f0bef07323
4 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -123,7 +123,9 @@ class RunnerTCPEcoute implements Runnable {
String line = in.readLine();
String msg = "";
while (line != null) {
if(!msg.equals("")) {
System.out.println("Received: "+ msg);
}
/*if((line.split(" ")[0].equals("Destinataire"))) {
if(msg != "") {
MessageHorodate mh = MessageHorodate.stringToMessageHorodate(msg);