a simple client server program
Client reads message from console and sends it to the server and waits to receive a message from the Server continuously.
Server sends a hardcoded message that says "something magical is gonna happen you" to the every Client program that connects to it.
main receives four or five arguments. If it receives four arguments, it should be of form . main checks the second argument to decide if it is gonna act like a server or client.The flag1 is set to be -c for a client program and -s for a server program.
If it receives five arguments, it should be of form . main checks for the third argument to decide if it is a webserver. The flag2 is set to be -w for a web server.
The main return "not enough arguments" if it doesnt have enough arguments.
cd nc
make