comunicação entre dois ambientes com sockets. More...
#include <sys/types.h>#include <sys/socket.h>#include <sys/stat.h>#include <netinet/in.h>#include <netdb.h>#include <stdio.h>#include <string.h>#include <stdlib.h>Go to the source code of this file.
Defines | |
| #define | TAMMSG 80 |
Functions | |
| int | main (int argc, char *argv[]) |
| Funcao que gerencia execucao programa. | |
Comunicacao usando sockets.
Para executar o chat: primeiro deve configurar ele no arm, depois chamar o sistema que fara troca de mensagem.
Para executar o chat:
Chamar no terminal o chat chat <porta>
Colocar o servidor para executar... acesse: cd tools/ chame o programa ./chat <endereco> <port>
Definition in file chat.c.
1.7.1