README:
There are 4 folders in this assignment TCP Server & Client UDP Server & Client
All folders have its own makefile.
Server will not close once the persistent requests has been sent. You can send another request of persistence or non-persistence with the server running.
To run a TCP Server:
- go to Server_TCP
- make clean, make all
- ./server_tcp
To run a TCP Client:
- go to Client_TCP
- make clean, make all
- persistent: ./client_tcp localhost 30007 p file_list.txt 4: non-persistent: ./client_tcp localhost 30007 np lorem_ipsum.txt
To run a UDP Server:
- go to Server_UDP
- make clean, make all
- ./server_udp
To run a UDP Client:
- go to Client_UDP
- make clean, make all
- ./client_udp localhost 30008 lorem_ipsum.txt

Log in or sign up for Devpost to join the conversation.