Created
June 17, 2010 00:59
-
-
Save thiagodiogo/441503 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String args[]){ | |
ServerSocketThiago server; | |
server = new ServerSocketThiago(); | |
server.iniciaServidor(); | |
System.out.println("Servidor iniciado"); | |
ClientSocketThiago client; | |
client = new ClientSocketThiago(); | |
client.iniciaCliente(); | |
} | |
} |
public class Cliente {
public static void main(String args[]){
ClientSocketThiago client;
System.out.println("Cliente criado...");
client = new ClientSocketThiago();
System.out.println("Cliente instanciado...");
client.iniciaCliente();
System.out.println("Cliente terminado...");
}
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
public static void main(String args[]){
ServerSocketThiago server;
server = new ServerSocketThiago();
server.iniciaServidor();
System.out.println("Servidor iniciado");
}