I am creating a simple client/server file sharing application which I run on same computer. Mine. :) I wish to make the client be able to get a certain file by letting user type "get filename" in the console. When they do, and the server responds, the server checks if there is such a file and sends to the user. While I got the basics working - like being able to send/recieve primitive types - I still have trouble actually sending a file. And letting the client have the command "get filename". Could someone assisst please?
Here's my coding: