Skip to content

Commit 4e9c1a6

Browse files
committed
corrections
1 parent 764387a commit 4e9c1a6

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed
Binary file not shown.
Binary file not shown.

src/Server/ClientHandlerThread.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public void run() {
2828
this.output = new DataOutputStream(socket.getOutputStream());
2929

3030
Server.addClientStream(output);
31-
String hostName = socket.getInetAddress().;
31+
String hostName = Integer.toString((int)(Math.floor(Math.random()*1000) + 1));
3232
gui.write("Connected" + " -> " + hostName);
3333

3434
// Read all messages from client and respond

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy