Skip to content

Instantly share code, notes, and snippets.

Researching on NLU + Voicebots!

Thiago Diogo thiagodiogo

Researching on NLU + Voicebots!
Block or report user

Report or block thiagodiogo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:441503
public class Main {
public static void main(String args[]){
ServerSocketThiago server;
server = new ServerSocketThiago();
System.out.println("Servidor iniciado");
ClientSocketThiago client;
View ClientSocketThiago
public void iniciaCliente(){
try {
System.out.print("\nCliente tentando conectar com oservidor...");
client = new Socket(enderecoDoServidor, porta);
System.out.print("\n Conexão estabelecida...");
in = new DataInputStream((client.getInputStream()));
out = new DataOutputStream(client.getOutputStream());
//Enviando a hora agora (T1)
You can’t perform that action at this time.