corection
This commit is contained in:
parent
8286be5e97
commit
b3af790b84
Binary file not shown.
@ -122,7 +122,7 @@ public class App {
|
|||||||
tSocket = new Socket(tAddr, tPort); // laczymy
|
tSocket = new Socket(tAddr, tPort); // laczymy
|
||||||
tDos = new DataOutputStream(tSocket.getOutputStream()); // tu wysylamy wiadomosci
|
tDos = new DataOutputStream(tSocket.getOutputStream()); // tu wysylamy wiadomosci
|
||||||
tDis = new DataInputStream(tSocket.getInputStream()); //tu przyjmujemy 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];
|
byte[] rec = new byte[1024];
|
||||||
String s = new String();
|
String s = new String();
|
||||||
if (tDis.read(rec) > 0){
|
if (tDis.read(rec) > 0){
|
||||||
|
Loading…
Reference in New Issue
Block a user