We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9c0951 commit b881586Copy full SHA for b881586
out/artifacts/p2pchord_jar/p2pchord.jar
0 Bytes
src/main/java/com/distribsystems/p2p/Client.java
@@ -19,8 +19,8 @@ public class Client
19
{
20
public static void main(String[] args){
21
Node node;
22
- String ip = "127.0.0.1";
23
- /*String ip = null;
+ // String ip = "127.0.0.1";
+ String ip = null;
24
try {
25
Enumeration e = NetworkInterface.getNetworkInterfaces();
26
while(e.hasMoreElements())
@@ -39,7 +39,7 @@ public static void main(String[] args){
39
//ip = InetAddress.getLocalHost().getHostAddress();
40
} catch (SocketException e) {
41
e.printStackTrace();
42
- }*/
+ }
43
int port = 8000;
44
45
0 commit comments