commit
facb9e51a6
@ -115,6 +115,7 @@ public class AppClient {
|
|||||||
this.serverPort = serverPort;
|
this.serverPort = serverPort;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try (Socket socket = new Socket(InetAddress.getLocalHost(), serverPort)) {
|
try (Socket socket = new Socket(InetAddress.getLocalHost(), serverPort)) {
|
||||||
OutputStream outputStream = socket.getOutputStream();
|
OutputStream outputStream = socket.getOutputStream();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user