Skip to content

Commit c2ff261

Browse files
committed
added README.md
1 parent e6e759f commit c2ff261

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#MultiClient Java Server
2+
3+
- Made using Java.net
4+
- Server can connect with multiple clients.
5+
- Server can Broadcast a message from one client to all clients.

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.getLocalSocketAddress().toString();
31+
String hostName = socket.getInetAddress().;
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