Implementation TCP
This commit is contained in:
parent
d9173ea171
commit
f0bef07323
4 changed files with 2 additions and 0 deletions
Binary file not shown.
BIN
Implementation/src/RunnerEcouteTCP.class
Normal file
BIN
Implementation/src/RunnerEcouteTCP.class
Normal file
Binary file not shown.
BIN
Implementation/src/RunnerEcouteUDP.class
Normal file
BIN
Implementation/src/RunnerEcouteUDP.class
Normal file
Binary file not shown.
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue