This is an application with 1 server and 1 client, which can be used to send text documents and images.
Client code explained briefly
- Connects to the server, requests a specific image for the serve.
- It asks the client wether he wants a text document or image from the server.
- It receives all the data from the server.
- The received image will be in the client folder
Server code explained briefly
- Creates a socket with a given IP and Port number and binds them.
- If the client requests for file all the data is sent at once.
- It receives the name of the file to be transfered from the server folder(i.e client requesting for a specific file)
- os package is used to check the availability of the requested image or text.
