Skip to content
Snippets Groups Projects
Tarea2-RC-Grupo25-Cliente.cpp 526 B
Newer Older
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "Clients.h"
#include "Util.h"



int main(int argc, char *argv[]) {
	   if (strcmp(argv[1],"TCP")  == 0){
	   }else if (strcmp(argv[1],"UDP")  == 0){
		   printf("ERROR: primer argumento debe ser TCP o UDP.\n");