Plaster
New
List
Login
java
default
Old Sock
2019.02.11 15:43:24
JSONObject jo = new JSONObject(); JSONObject jo2 = new JSONObject(); jo2.put("x", X); jo2.put("y", Y); jo.put("resolution", jo2); try{ //DataInputStream input; DataOutputStream output; //input = new DataInputStream(mySocket.getInputStream()); output = new DataOutputStream(mySocket.getOutputStream()); output.writeUTF(jo.toString());
Raw
Annotate
Repaste