Skip to main content

Socket programing using JAVA

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2011-06-24

You are required to write a TCP client and server network application to check the validity of a password written by the user and read by the client process. The client process should prompt the user to enter a password. The client process should read the password from the keyboard and sent it through a socket to the server process. The server should read the password and compare it to a prestored password. If both are the same, then the server should return, "password accepted" otherwise, the server should return "Invalid password". Guys please help me doing this program =]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2011-07-02

Looks like you was asked to write this personally for your school, university or potential employer.

If it is so, then why do you believe that cheating is the best way in your case? May be you undertake some little efforts to study things which you are requirred?