Running Server
-> compile Server
javac GreetingServer.java
-> start Server
java GreetingServer
Running Client
-> compile Client
javac GreetingClient.java
-> start Client
java GreetingClient
Sending Text
-> Enter your message at the prompt shown : >> Your Message
-> The other person will receive the message as : Sender : message
Sending Files
-> Send file using the following syntax : Sending fileName TCP/UDP
-> You will see the percentage of file transferred in the console
-> The other person will receive a notification in the console stating that you are sending a file using a certain protocol (TCP/UDP)
-> The other person will also receive the percentage of the file received as the file is transferred.