Compare commits
2 Commits
11a00f6959
...
ac631cbe0f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac631cbe0f | ||
|
|
3554e42718 |
@@ -28,7 +28,10 @@ public class Client {
|
||||
|
||||
public Client(InetSocketAddress serverAddress) throws SocketException {
|
||||
this.connexion = new ClientConnexion(new DatagramSocket(), serverAddress);
|
||||
login("Moi");
|
||||
Scanner scanner = new Scanner(System.in);
|
||||
System.out.println("Enter your pseudo:");
|
||||
String pseudo = scanner.nextLine();
|
||||
login(pseudo);
|
||||
}
|
||||
|
||||
public void visitMessage(String message){
|
||||
|
||||
Reference in New Issue
Block a user