Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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();
}
}
@thiagodiogo

This comment has been minimized.

Copy link
Owner Author

thiagodiogo commented Jun 17, 2010

public static void main(String args[]){
ServerSocketThiago server;
server = new ServerSocketThiago();
server.iniciaServidor();
System.out.println("Servidor iniciado");
}

@thiagodiogo

This comment has been minimized.

Copy link
Owner Author

thiagodiogo commented Jun 17, 2010

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
You can’t perform that action at this time.