Android send and get socket message with socket
问题 I want to send a message with a socket. I checked all my options for receiving and sending messages (if there is a better way than this please tell me). I have a problem. I saw in the video how to do it, but they do not show how to send a message with it. How can I send a message with this? How do I use the "Thread3" class? private PrintWriter output; private BufferedReader input; class Thread1 implements Runnable { @Override public void run() { Socket socket; try { socket = new Socket("105