corection

This commit is contained in:
Jakub Adamski 2019-11-22 14:56:14 +01:00
parent 8286be5e97
commit b3af790b84
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -122,7 +122,7 @@ public class App {
tSocket = new Socket(tAddr, tPort); // laczymy
tDos = new DataOutputStream(tSocket.getOutputStream()); // tu wysylamy wiadomosci
tDis = new DataInputStream(tSocket.getInputStream()); //tu przyjmujemy wiadomosci
tDos.write(convert(myUserT.getText() + "> " + messString.substring(1, messString.length()))); //wysylamy prosbe
tDos.write(convert(myUserT.getText() + "> DOWNLOAD:" + messString.substring(1, messString.length()))); //wysylamy prosbe
byte[] rec = new byte[1024];
String s = new String();
if (tDis.read(rec) > 0){