Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /