Chat server and client using the User Datagram Protocol (UDP)
$ make
$ make client
or
$ gcc -o client src/client.c -pthread
$ make server
or
$ gcc -o server src/server.c
$ ./client [server] [port] [username]
e.g.
$ ./client localhost 32505 gesslerpd
or
$ ./client 127.0.0.1 32505 gesslerpd
list
- Will list all the other currently connected clients
close
- Will disconnect you from the server and exit the program
exit
- Will shutdown the server and exit the program
$ ./server [port]
e.g.
$ ./server 32505