You have been of great help to me till now. I got a new problem , I am unable to run the JAR file.
When i click on the Jar file, I got the following error :
"Could not find the main class: socketprog.Main. Program will exit."
Thanks in advance for your answers.